Java Applets &
JavaScript

PAGE (2 of 7)

Java applets vs. JavaScript

Applets are similar to applications, but they don't run standalone. Instead, applets adhere to a set of conventions that lets them run within a Java-compatible browser. They are embedded in HTML documents, but they arrive as separate files to the client's computer.

JavaScript was developed by Netscape and is a cousin to Java. Its set of commands differ a bit from Java and have slightly different implementations. It is important to know that JavaScript is HTML-dependent. It must reside within an HTML file and function within a Java-compatible, or Java-enabled, browser.

NOTE: The Java language is CASE SENSITIVE. This applies also to Java applets and JavaScript.

 


© CS Dept Va Tech, 1997-1998.

All rights reserved.