Basic HTML version of Foils prepared June 5 99

Foil 38 Java vs. JavaScript

From Java Language in the Computer Science Curriculum ADMI Tutorial Duluth Minnesota -- June 3 99. by Geoffrey C. Fox


Despite the word "java" in the name, JavaScript is a different language than Java, albeit with some similarities.
A JavaScript program is written directly into the HTML page, and is executed by the JavaScript intrepeter, so also executes dynamic web page content in the browser window.
JavaScript is special purpose - it is an object-based language that deals directly with browser entities such as windows, textfields, forms, frames and documents.
JavaScript can respond to browser events such as mouse clicks and user-typed text.
JavaScript is easy and fast to write, but not as powerful as Java.
Client side with dynamic HTML, JavaScript can be more effective than Java



© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Sat Jun 5 1999