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

Introduction

To compile the code in this chapter, you need to add the javax.jnlp library (released from Sun) in your classpath. It is freely available through the Java Developer Connection or more quickly from the Java Web Start product page at http://www.javasoft.com/products/javawebstart.

The services offered by the JNLP Client to launched applications are always invoked by obtaining a service object from the javax.jnlp.ServiceManager class (as shown in the following code):

service =
(ExtensionInstallerService)ServiceManager.lookup("javax.jnlp.ExtensionInstaller
Service");

Once obtained, the particular service object clients can use it as needed. We won't discuss the API details here (have a look at Appendix B, “The JNLP Specification,” or ...

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