Java Deployment with JNLP and WebStart by Mauro Marinilli

Java Deployment with JNLP and WebStart



Download eBook




Java Deployment with JNLP and WebStart Mauro Marinilli ebook
Page: 393
ISBN: 0672321823, 9780672321825
Format: pdf
Publisher: Sams


Java Web Start provides the power to launch full-featured Java applications with a single click. If your application is deployed using webstart you can specify the minimum version required. According to Sun, Java Web Start is a mechanism for program delivery through a standard Web server. FAIL - java.lang.ClassNotFoundException: com.sun.javaws.servlet.JnlpDownloadServlet. The good news would seem to be that of course, there a couple plugins that do neat WebStart things - including building the JNLP file from the dependencies. Follow all the instructions about deploying, etc. The first one from CodeCrate Cool - cooking with gas now. JNLP consists of a set of rules defining how Updates of the software download from the Web become available when the user has a connection to the Internet, thus easing the burden of deployment. Jar -tvf WEB-INF/lib/jnlp-servlet.jar. API documentation for javax.jnlp package. The JNLP protocol, defined with an XML schema, specifies how to launch Java Web Start applications. But my point is that I found extracting the client module's generated zip file (containing the jnlp bundle) to be the easiest way to deploy a JNLP project to an app server to make it easily accessible for users. Programmers often speak of the Java Network Launching Protocol (JNLP) interchangeably with the term "Web Start". For more information, see the docs on Java Web Start and JNLP here. Using Java Web Start technology, standalone Java software applications can be deployed with a single click over the network. This one-click deployment solution for Java applications on the desktop leverages the Java Network Launch Protocol (JNLP) API. Since i'm too lazy to read the JNLP documentation, and to write a JNLP file from scratch by hand, i'm gonna use those firefox goggles for starters. Now that we've covered how to build, distribute, and deploy an SWT application using Sun's Java Web Start, let's review how to implement a JNLP file.