Basic HTML version of Foils prepared 16 May 98

Foil 35 Comparison of Java and JavaScript -- I

From Introduction to Java to be used in (Scientific) Computing CEWES Java Tutorial -- Spring Semester 98. by Geoffrey C. Fox, Nancy McCracken


1 Netscape renames Livescript as Javascript and this is an interesting variant of Java which is fully interpreted (code can be included directly in HTML file)-- use for overall customization of client
2 Use Java for detailed programming and JavaScript for overall integration of client interface and system
3 JavaScript: Interpreted by client and NOT compiled
4 Java: Compiled on Server before execution on client
  • Note both are reasonably "pure" C/C++ like languages
5 JavaScript: Object based -- no classes or inheritance -- built in extensible objects
6 Java: Object-oriented -- Programs consist of object classes with inheritance

in Table To:


© 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 Sun Nov 29 1998