Monday, March 09, 2009

Java applet

A Java applet is an applet delivered to the users in the form of Java byte code. Java applets can run in a Web browser using a Java Virtual Machine (JVM), or in Sun's Applet Viewer, a stand-alone tool for testing applets. Java applets were introduced in the first version of the Java language in 1995. Java applets are usually written in the Java programming language but they can also be written in other languages that compile to Java byte code such as Jython.

Applets are used to provide interactive features to web applications that cannot be provided by HTML. Since Java's byte code is platform independent, Java applets can be executed by browsers for many platforms, including Windows, UNIX, Mac OS and Linux. There are open source tools like applet2app which can be used to convert an applet to a stand alone Java application/windows executable/Linux executable. This has the advantage of running a Java applet in offline mode without the need for internet browser software.

Many influential Java developers, blogs and magazines are recommending that the Java Web Start technology be used in place of Applets.

A Java Server is sometimes informally compared to be "like" a server-side applet, but it is different in its language, functions, and in each of the characteristics described here about applets.

No comments: