Compares and Contrasts JavaScript and Java

Essay by key50001, March 2007

download word file, 17 pages ( 0 bytes ) 5

Downloaded 205 times

AbstractThe objective of this paper is to provide a valuable comparison of the various dialects of the Java programming language, including JavaScript, which is not a true variant of the Java programming language. The various Java tools such as Java beans, Java applets, and JavaScript, have their advantages and disadvantages, all these areas are explored in this paper, including usage both within a web page and as a stand-alone medium. The overwhelming purpose of this paper is not to convince the reader that one programming method is better or superior to the other, but to provide the necessary information needed in choosing a programming language that will fit an existing programming or development need.

Analysis That Compares and Contrasts JavaScript and JavaWeb pages created with HTML are usually static and do not allow for changes once they have been created and rendered by the browser. However, once the World Wide Web started growing beyond being used by the academic and scientific sector, the need for more interaction and visual design was needed to make the web a more enjoyable experience. “Thus, to respond to the demand for greater interactivity, an entirely new Web programming language was needed. Netscape filled this need by developing JavaScript” (Gosselin, 2004, p. 20).

History of JavaScriptIn 1995, Brendan Eich, an employee of Netscape, created JavaScript and the first shipped beta version of what was called LiveScript, later renamed to JavaScript, was released with Netscape Navigator 2.0. JavaScript is a client-side scripting language created out of the need “for web designers, who do not necessarily have a lot of programming background or skills” (Seymour, 1997, ¶9). JavaScript is an interpreted language and only requires a browser to interpret the code. JavaScript’s syntax is based loosely on the C language however, unlike C, which relies on standard...