[ Bloke.com || Linux || JavaScript || Java || Volleyball || Link Me ]
Free: [ Guestbook || MessageBot || Plugins || Counter || AusPrices || Advertise ]
www.bloke.com

Cameron's Java Tips

Using the JAR Format


The JAR format dramatically decreases the load time for applets with a large number of classes. Programmers aware of this have been writting applets that don't use a lot of classes for the very reason. With the introduction of the JAR format (Java ARchive), it is no longer neccessary to worry about the number of class files generated.

To format is the standard ZIP format and it is backwards compatible withbrowsers that don't use this JAR format, by supplying the class files as well.

Here is an example of the applet tag with the new parameter.

So the file myMaze.zip file would contain all the class files that are referenced (directly or indirectly) from Maze.class

See Also:

  • Java is a registered trademark of Sun Microsystems, Inc.

    Got Java questions? Maybe my Java Board has the answers?

    Enter your Email to join my Java List:
    (highly recommended if you use these applets!)

    Powered by: MessageBot.com


    Cameron Gregory - cameron@bloke.com