Basic HTML version of Foils prepared 23 June 1997

Foil 18 JavaScript versus Java - I

From JavaScript Tutorial for Certificate Course UC Web applications Certificate -- Summer 97. by Geoffrey C. Fox, Tom Scavo


JavaScript: Interpreted and not compiled by client or server
Java: Compiled bytecodes downloaded from server and interpreted or (Just in Time) compiled by client
JavaScript: Object-based, but no classes or inheritance
Java: Object-oriented class structure with (single) inheritance
JavaScript: Code typically integrated with or embedded in HTML (SRC="File.js" is exception)
Java: Applets distinct from HTML and accessed by <APPLET> tag from HTML page



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 Wed Apr 1 1998