Thursday, July 17, 2008

JavaScript Java


Interpreted (not compiled) by client. Compiled bytecodes downloaded from server,
executed on client.

Object-based. Uses built-in, extensible Object-oriented. Applets consist of
objects, but no classes or inheritance. object classes with inheritance

Code integrated with, and embedded Applets distinct from HTML
in, HTML. (accessed from HTML pages).

Variable data types not declared Variable data types must be
(loose typing). declared (strong typing).


Dynamic binding. Object references Static binding. Object references must
checked at runtime. exist at compile-time.


Cannot automatically write to hard Cannot automatically write to hard
disk. disk.

No comments: