★ wanayoo — archive 1999 http://developer.iplanet.com/docs/examples/java/faster_applets.htmlNouvelle recherche | Portail wanayoo
iPlanet

You are here:  Home > Developers > Sample Code > Java > Java Sample Code
Java Sample Code
 iPlanet Developers


Developer Program
  Membership
  One-to-One Support
  Newsgroups
  Member Services

Developer Publications
  View Source
  Developer News

Documentation
  Technical Manuals
  White Papers
  TechNotes
  Sample Code
  FAQs
  Books

Technologies
  CSS
  DOM
  CORBA
  Directory & LDAP
  Dynamic HTML
  Java
  JavaScript
  Linux
  RDF
  Security
  SSJS
  XML
  XUL

Developer Downloads
  Tools & SDKs
  Patches

iPlanet Products
  Technical Resources










spacer
Speeding Up Your Applet Downloads With Navigator 3.0

Many Java developers already know that the JIT compiler added to Netscape Navigator 3.0 speeds up execution of Java. Navigator 3.0 also supports the specifying of an Archive file/tag, an important feature for Java developers since it allows for one http connection to get ALL your class files, greatly speeding up the performance of an applet.

By specifying the ARCHIVE attribute in the APPLET tag, you can specify an archive file that includes all the necessary class files to run your applet.

For example:

<APPLET ARCHIVE="MyApp.zip" CODE="MyApp.class" WIDTH=680
HEIGHT=480>

</APPLET>

Here, the ARCHIVE tag specifies a "zip" file that contains "MyApp.class," along with potentially hundreds of other "class" files required for this application.

The archive file is found relative to the CODEBASE path (if specified, otherwise the path is relative to the current URL).

The archive file currently supported is the standard "ZIP" file format uncompressed.

Required files that are not included in the archive file are found in the usual way -- as if the ARCHIVE attribute were not present. As such, you can mix class files found in the ARCHIVE attribute, and files outside the archive. This also allows for backward compatibility.


Related Reading:


Any sample code included above is provided for your use on an "AS IS" basis, under the Netscape License Agreement - Terms of Use

spacer spacer


                                                       
iPlanet International | Year 2000 | Site Map | Feedback
Products | Solutions | Support | Services | Download | About Us | Developer
© 2000 Sun-Netscape Alliance. All Rights Reserved  Privacy Policy