O'Reilly logo

Java™ Deployment with JNLP™ and Webstart™ by Mauro Marinilli

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

An Example of Use

In this final section, we illustrate an example application that includes the utility package and makes use of the generalUtilites class. This, in turn, will take care of providing the needed JNLP runtime services to the application, even if this latter one is not launched via a JNLP file. The services provided in this test class are only illustrative.

The Test Class

As an example of use of this library in Listing D.11 is supplied an application that makes use of various JNLP runtime services. This class can be run seamlessly using a JNLP Client (the JNLP file is provided in Listing D.12) or launching it locally as a usual JAR file.

Listing D.11. The Test Class
 package com.marinilli.b2.ad; import com.marinilli.b2.ad.util.*; ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required