Hi Friends...
How do I set up my server to use the JnlpDownloadServlet? and what is the benefits of it.
Thanks.........
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Chintan RathodPosted Dec 24, 2011, 3:10 PM
Introduction
Java Web Start includes a servlet in the sample/jnlp directory of the JDK. It can be used on either a JNOP file and its associated resources packaged in a Web Archive (.war) file, or on an unarchived directory. The purpose of the servlet is to provide a simple and convenient packaging format for JNLP applications, so they can be easily deployed in a Web Container, such as Tomcat or a J2EE-compliant Application Server.The download servlet supports the following features:
- Automatic installation of the codebase URL into JNLP files, thus eliminating manual management of hard-coded URLs into JNLP files.
- Explicit specification of the timestamp for a JNLP file, independent of the file-system timestamp.
- Supports all download protocols defined in the JNLP specification v1.0.1. These include basic download protocol, version-based download protocol, and extension download protocol.
- Version-based information is specified per file or per directory in the Web archive. Thus, no centralized file needs to be managed for the entire archive.
- Automatic generation of JARDiff files
- The servlet supports Pack200 compression for application files.
The packaging support consists of one servlet: JnlpDownloadServlet. The servlet is packaged into the jnlp-servlet.jar file, which can be found in the SDK under samples/jnlp/servlet/.For Example refer:
http://docs.oracle.com/javase/7/docs/technotes/guides/javaws/developersguide/downloadservletguide.html