04.12.2012 Views

Windchill System Administrator's Guide

Windchill System Administrator's Guide

Windchill System Administrator's Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Downloading JAR Files<br />

When a remote JAR file is available, but not cached locally, you are prompted to<br />

download the file. Similarly, before a cached JAR file is reused, the remote<br />

codebase is checked to see if a newer version of the file is available. If a newer<br />

version is available, you are prompted for the action that you want to take. You<br />

can download the file immediately, continue using the old file, or dynamically<br />

download classes like a normal applet class loader would.<br />

Note: The option to use an old file is enabled only if a previous JAR file exists<br />

locally.<br />

When downloading the new JAR file (which is normally compressed), you can<br />

inflate the file. Inflating the JAR file after download makes the file bigger, but it<br />

avoids the processing time that is required to inflate entries when they are loaded<br />

later. Whether this CPU cost savings is worth the increased disk access to read<br />

bigger entries, depends on the hardware. A user with a fast CPU but very slow<br />

disk (laptop) might choose to leave the JAR file compressed.<br />

If the specified JAR file is not available in the remote codebase, no local JAR file<br />

is used, even if a previous one is available locally. The bootstrap loader<br />

downloads classes like a regular applet class loader. To benefit from local JAR<br />

files, the remote codebase must contain up-to-date JAR files reflecting its content.<br />

The assumption is that, if a JAR file is no longer found, the codebase has<br />

undergone some sort of change that would invalidate the previously cached JAR<br />

file.<br />

Administering Codebases<br />

It is the responsibility of the <strong>Windchill</strong> administrator to create and recreate<br />

codebase JAR files whenever any files in a codebase are changed.<br />

The cached JAR files are standard JAR files. You can create them by using the Jar<br />

utility included in the Java Developer's Kit (JDK), or by using other Zip utilities<br />

as long as the resulting file names match those specified in bootstrap tags. They<br />

should be created to contain all the Java class files and resource files from the<br />

codebase that are required by the applet or application being bootstrapped. Any<br />

files referenced that are not in the system class path or the specified JAR file are<br />

not found.<br />

2-8 <strong>Windchill</strong> <strong>System</strong> Administrator’s <strong>Guide</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!