HELP! * GREY=local LOCAL HTML version of Foils prepared 15 January 1997

Foil 19 JavaScript Compared to Java - II

From JavaScript Tutorial for CPS616 Technologies of the Information Age 1997 Basic Information Track of CPS -- Spring Semester 97. by Geoffrey C. Fox * See also color IMAGE

JavaScript: User has full access to capabilities of Netscape Navigator in functionality of window components
Java: User relies on Java AWT (or potentially HotJava browser) for features of Window Components
JavaScript: No explicit data types (just var) --- loose typing
Java: Variable data types must be declared and carefully "cast" to convert -- strong typing
JavaScript: Dynamic Binding. Object references are interpreted at runtime (typical interpreter)
Java: Static Binding. Object references must exist at compile time.
Security: Both JavaScript and Java applets as implemented today have significant security restrictions. This is a (Netscape) Runtime and not a language feature!



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 Feb 19 1997