Saturday, September 11, 2010

Minimize download time in case of applet

To minimize download time,
Applets are usually delivered in a form of compressed zip archive (having jar extension). If all needed classes (only one in our case) are placed in compressed archive example.jar, the embedding code would look differently:

Here it is:
This is where HelloWorld.class runs.