next up previous contents
Next: The Java Security Concept Up: Introduction to Java Previous: Introduction to Java

Java Applets vs. Java Applications

From the users point of view, Java applications can be compared to compiled C programs since they are started from a command line just like any compiled program would be started. However, there is a major difference: Java applications, as well as applets, are interpreted. Applications are started on the command-line by calling the Java Interpreter with the name of the application as an argument. Applets, in contrary to applications, are small programs which can be included in web pages and run inside the user's browser. Alternatively, applets can be run in the appletviewer that comes with the JDK, which has advantages for debugging.