Java vs. Java Script



Similar documents
Web Pages. Static Web Pages SHTML

Chapter 12 Programming Concepts and Languages

CSC 551: Web Programming. Spring 2004

1. Overview of the Java Language

Chapter 13 Computer Programs and Programming Languages. Discovering Computers Your Interactive Guide to the Digital World

Topics. Introduction. Java History CS 146. Introduction to Programming and Algorithms Module 1. Module Objectives

Characteristics of Java (Optional) Y. Daniel Liang Supplement for Introduction to Java Programming

WEB SITE DEVELOPMENT WORKSHEET

Evolution of the Major Programming Languages

Java in Education. Choosing appropriate tool for creating multimedia is the first step in multimedia design

Risks with web programming technologies. Steve Branigan Lucent Technologies

ICT 6012: Web Programming

Efficiency of Web Based SAX XML Distributed Processing

Course Information Course Number: IWT 1229 Course Name: Web Development and Design Foundation

XML Processing and Web Services. Chapter 17

Web Design Specialist

Chapter 10: Multimedia and the Web

An evaluation of JavaFX as 2D game creation tool

Hypercosm. Studio.

C# and Other Languages

JavaScript By: A. Mousavi & P. Broomhead SERG, School of Engineering Design, Brunel University, UK

APPLETS AND NETWORK SECURITY: A MANAGEMENT OVERVIEW

Chapter 1. Dr. Chris Irwin Davis Phone: (972) Office: ECSS CS-4337 Organization of Programming Languages

Comparison of Web Authoring Tools (NetObjects Fusion, Microsoft FrontPage, and Macromedia Dreamweaver)

Chapter 1 Programming Languages for Web Applications

Fig (1) (a) Server-side scripting with PHP. (b) Client-side scripting with JavaScript.

FF/EDM Intro Industry Goals/ Purpose Related GISB Standards (Common Codes, IETF) Definitions d 4 d 13 Principles p 6 p 13 p 14 Standards s 16 s 25

How To Understand Programming Languages And Programming Languages

AQA GCSE in Computer Science Computer Science Microsoft IT Academy Mapping

Special Edition for FastTrack Software

CSE 452: Programming Languages. Acknowledgements. Contents. Java and its Evolution

HTML5 Data Visualization and Manipulation Tool Colorado School of Mines Field Session Summer 2013

Introduction to ASP. Are you sick of static HTML pages? Do you want to create dynamic web pages? Do you

What do you mean that I have to have special web pages to communicate with FileMaker?

15 minutes is not much so I will try to give some crucial guidelines and basic knowledge.

4 Understanding. Web Applications IN THIS CHAPTER. 4.1 Understand Web page development. 4.2 Understand Microsoft ASP.NET Web application development

S. Bouzefrane. How to set up the Java Card development environment under Windows? Samia Bouzefrane.

Contents. Java - An Introduction. Java Milestones. Java and its Evolution

Download and Installation of MS SQL Server

Outline. CIW Web Design Specialist. Course Content

REMOTE DESKTOP IN WINDOWS XP

Checking Browser Settings, and Basic System Requirements for QuestionPoint

A Performance Comparison of Web Development Technologies to Distribute Multimedia across an Intranet

JAVA WEB START OVERVIEW

TECHNICAL CONDITIONS REGARDING ACCESS TO VP.ONLINE. User guide. vp.online

Part 1 Foundations of object orientation

Chapter 14: Links. Types of Links. 1 Chapter 14: Links

Team Builder Project

The Java Series. Java Essentials I What is Java? Basic Language Constructs. Java Essentials I. What is Java?. Basic Language Constructs Slide 1

How To Test Your Web Site On Wapt On A Pc Or Mac Or Mac (Or Mac) On A Mac Or Ipad Or Ipa (Or Ipa) On Pc Or Ipam (Or Pc Or Pc) On An Ip

But have you ever wondered how to create your own website?

Performance Testing for Ajax Applications

SkyFoundry News Update New Reporting Features and SkySpark Mobile

1/20/2016 INTRODUCTION

ASP.NET: THE NEW PARADIGM FOR WEB APPLICATION DEVELOPMENT

Lesson Overview. Getting Started. The Internet WWW

WEB PROGRAMMING DESKTOP INTERACTIVITY AND PROCESSING

West Windsor-Plainsboro Regional School District Computer Programming Grade 8

2 System Requirements and Authentication

RIA Technologies Comparison

Using The HomeVision Web Server

RIA DEVELOPMENT OPTIONS - AIR VS. SILVERLIGHT

Fundamentals of Programming and Software Development Lesson Objectives

Java History. Java History (cont'd)

This tutorial provides detailed instructions to help you download and configure Internet Explorer 6.0 for use with Web Commerce application.

Using ProjectWise Explorer for File Transfer

Java and JavaScript. Krishna Tateneni

Mobile Application Languages XML, Java, J2ME and JavaCard Lesson 04 Java

Installing Java. Table of contents

Checking IE Settings, and Basic System Requirements for QuestionPoint

Web Application Development

JavaFX Session Agenda

Compute Cluster Server Lab 3: Debugging the parallel MPI programs in Microsoft Visual Studio 2005

Checklist for Web Application Testing

PDF Primer PDF. White Paper

Research on HTML5 in Web Development

Entrust Managed Services PKI Administrator s Quick Start Guide

TATJA: A Test Automation Tool for Java Applets

Nokia 9210i/9290 Communicators and PersonalJava TM Application Development

Distance-Learning Remote Laboratories using LabVIEW

An Overview of Java. overview-1

Availability of the Program A free version is available of each (see individual programs for links).

Oracle Universal Content Management

Why HTML5 Tests the Limits of Automated Testing Solutions

2 Introduction to Java. Introduction to Programming 1 1

ATSBA: Advanced Technologies Supporting Business Areas. Programming with Java. 1 Overview and Introduction

Language Evaluation Criteria. Evaluation Criteria: Readability. Evaluation Criteria: Writability. ICOM 4036 Programming Languages

In this chapter, we lay the foundation for all our further discussions. We start

SUBJECT CODE : 4074 PERIODS/WEEK : 4 PERIODS/ SEMESTER : 72 CREDIT : 4 TIME SCHEDULE UNIT TOPIC PERIODS 1. INTERNET FUNDAMENTALS & HTML Test 1

Cache Database: Introduction to a New Generation Database

Transcription:

Java vs. Java Script Java and Java Script share two very similar names, but they are completely different languages that possess few commonalties. They differ both in their purpose and the applications they can run. Java Script does not permit programmers to create stand alone applications, or applications that can run by themselves that are not imbedded in another language, while Java is a complex language that allows programmers to create entire stand alone applications, or applications that run all buy themselves. Java Script is a much simpler language, similar in structure to HTML, and thus, Java Script is much easier to learn, but it must always be imbedded in another text, usually HTML. One similarity of the two languages is that they are both object -oriented languages. Object oriented languages allow programmers to change properties of objects. Thus, the actions you can take depend on the type of object you are manipulating. For example, if you are working with shapes like squares and circles, and the action you wish to take is to make the objects 3D, the squares will become cubes while circles spheres.

Discussion on the topic based upon my research: Java Some have asked what is Java, exactly? Java is a programming language designed to allow programmers to create applications that can be downloaded from a network and run safely on almost any computing platform. It runs on almost all types of computers, supplies software components as needed, and contains built-in security features. The language was designed similar to C++, but with syntax that is easier to understand. While it incorporates all the recent major advances in computer sciences, it is still so young it lacks the tools available for programming that are available in C++ or visual basic. Java is considered by some the closest thing that we have to a universal computer language. Java's virtual machine, made up of software, allows Java to run on almost any computer. The virtual machine does is takes messages from the computer and translates them for Java, and vice versa. Because Java's virtual machine is so unique and powerful, it has been compared to the structure of Esperanto. Incipient stages of Java emerged from development by Sun Microsystems in 1990 as a language to run household appliances. Then, it expanded to the Internet. In 1991 this programming language, then called Oak, climbed the evolutionary latter to become object

oriented. In 1995, Oak began to receive a lot of attention and its name was changed to Java. Security is one of Java's main advantages, and one of the reasons it has become so popular. In Java, security is inherent. The language was designed this way so that devious programmers could not create applets that could go into users' computers and steal valuable passwords. Java only permits applets to function within a sand box, thus, forcing the applet to stay within the sandbox's boundaries, inhibiting hacking. So unique and reliable is this safety feature that it is used 1000 times more than Microsoft's safety device, Active X, which is built on mutual trust between internet users and providers. One disadvantage to Java is that it is slower than C++. So, while its safety seems to insure a temporary dominance of the Internet, it is by far less appealing for applications delivered outside the net (CD roms, etc.) There are two forms of Java that are of interest to the reader: applets and applications. Applets are small bits of Java code embedded in HTML for web page viewing. Applications, on the other hand, are stand alone programs, for example, HotJava Browser.

Java Script Most elements that appear on web pages are Java Script objects. The syntax of Java Script is very similar to that of HTML, making it easy to learn. Furthermore, it is parsed sequentially, meaning that the computer reads the language in sequence, performing each step in the order in which it was written. Java Script differs from HTML in that it is object oriented; while HTML includes attributes within an element's definition, Java Script links the object and the property, allowing one to be changed. For example, if you have a document and you want to change the background color, you would work with the document.bgcolor. Use Java Script with single lines of code placed within anchor tags, or for more complex functions contained within tags or before anchoring tags. Java Script is also an object oriented programming language. Objects can be maneuvered through what is called method acting, when actions methods perform. Some methods work for any object and some work for just some objects. For example, let's call your object pete and your action walk. To make your object, pete, perform the action, walk, you would write pete.walk. Properties can also be changed with method acting. So, for example, if you would like to make your object, pete, red, you would code pete.red. To perform both property and method, you could write pete.red.walk, or object.property.method.

Basic Scripts are easy to write with the knowledge of names of objects and properties that modify them. Functions are long, complicated strings of Scripts, which can be compiled with if/then operators such as && and parenthesis. References Dougherty, A. (1998) Java 101. ZDNet Developer [On-line]. Available http://www.zdnet.com/devhead/stories/articles/0.4413,2142327,00.html Dougherty, A. (1997). JavaScript 101. ZDNet Developer [On-line]. Available http://www.zdnet.com/devhead/stories/articles/0.4413,2142327,00.html Gilles, J. (1997) What is Java? ZDNet Developer [On-line]. Available http://www.zdnet.com/devhead/stories/articles/0.4413,2142327,00.html ZDWebopedia. (1999). Object Oriented [On-line]. Available http://www.zdwebopedia..com/term/o/object_oriented.html JavaScript and Java Applet downloads JavaScript 1. http://www.lonewolf.gr/software/ for buttons only 2. http://javascript.internet.com/games for game sprites

3. http://javascript.internet.com all kinds of scripts 4. http://javascript.about.com/compute/javascript categorical listings of scripts and where to find free downloads Applets 1. http://java.sum.com/applets/indexes.html 2. http:/www.better-homepage.com/free-applet-links.html 3. http://javabotique.internetl.com *This paper is written by Curtis Reese for the course EDC 385G Multimedia Authoring at the University of Texas at Austin.