JNLP (Java Network Load Agreement) is very simple
Java Network Launch Protocol (JNLP, Java Network Load Protocol).
What is JNLP? It is a way that Java provides a way to execute the Java application through your browser, which allows you to open a Java application directly through the URL connection on a web page. If your Java application is released in JNLP, if the version is upgraded, you don't need to release the version to all users, just update the version of the server, which is equivalent to let the Java application have web. The advantage of the application.
How to use JNLP: 1. Pack your app into an executable JAR file, place it in a web directory that you can access, such as apptest.jar. With Ant scripts, it is of course possible to handle JAR tools.
jar>
2. Write an XML file test.jnlp content as follows XML Version = "1.0" Encoding = "UTF-8"?>
3. Must give your JAR file signature to create a keystore file in the command line KeyTool. KeyTool -Genkey-Keystore You.KeyStore -Alaias Youapp command line Jarsigner signature, of course, password when you need to generate keystore, jarsigner -keystore you.keystore appteest.jar youapp
OK now puts the appteest.jar file in your web / yousite directory to use the address http://localhost/yousite/test.jnlp to start your application, start the dialog box, let you confirm the signature, Point is fine. Take a look at Sun's Demo: http://java.sun.com/products/javawebstart/demos.html Reference http://www.yeegle.com/ArticleView/33954.aspx