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