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

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 =

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 ...

Get Java™ Deployment with JNLP™ and Webstart™ now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.