Welcome!

Web 2.0 Authors: Gary Kaiser, Greg Schulz, PR.com Newswire, Esmeralda Swartz

Related Topics: Java, SOA & WOA, AJAX & REA, Web 2.0

Java: Blog Post

Applet Deployment Techniques for Platform Deterministic Libraries

It is possible to launch an Applet in a way that will only download the relevant files for the target system

From time to time WebRenderer is deployed within an Applet. Applets provide a convenient mechanism for launching client applications within the browser. WebRenderer however requires different libraries based on the target platform (Windows, Linux, OS X, Solaris) and architecture (32/64 bit). Traditionally to run an Applet, you needed to specify all of the libraries that are required, and they will all be downloaded. If you intend for the Applet to run on multiple platforms, then traditional Applet deployment means that all the libraries for the supported platforms are required which results in the downloading of many unnecessary files.

All is not lost however. It is possible to launch an Applet in a way that will only download the relevant files for the target system. This is done through a JNLP file that is usually associated and used with Java Web Start programs. The JNLP deployment option for Applets was introduced in Java 1.6.0_10.

Details on using JNLP with Applets can be found here.

More Stories By Duncan Thomas

Duncan Thomas, VP of sales at JadeLiquid Software, is a tech guy caught up in the business of tech!