Deploying Software with the JNLP


Java Web Start allows users to start application software for the Java Platform directly from the Internet using a web browser. Unlike Java applets, Web Start applications do not run inside the browser, and the sandbox. The JNLP files (an XML file) include information, such as the location of the JAR package file and the name of the main class for the application, in addition to any other parameters for the program. With a properly configured browser, JNLP files are passed to a JRE, which in turn downloads the application onto the user's machine and starts executing it.

Sample: Image:JabacoLaunchButton.png

<?xml version="1.0" encoding="utf-8"?>
<!-- JNLP File for Jabaco Fractal -->
<jnlp
  spec="1.0+"
  codebase="http://www.jabaco.org/demo/"
  href="FractalDemo.jnlp">
  <information>
<title>FractalDemo</title>
<vendor>Jabaco.org</vendor>
<homepage href="http://www.jabaco.org"/>
<description>FractalDemo</description>
<description kind="short">Demonstrates use of JNLP</description>
<offline-allowed/>
  </information>
  <security> 
<all-permissions/> 
  </security> 
  <resources>
<j2se version="1.4+"/>
<jar href="FractalDemo.jar"/>
  </resources>
  <application-desc main-class="VBLoader"/>
</jnlp>

Retrieved from "http://www.jabaco.org/wiki/Deploying_Software_with_the_JNLP"

This page has been accessed 2,827 times. This page was last modified on 15 December 2008, at 19:57.



This page has been accessed 2,827 times. This page was last modified on 15 December 2008, at 19:57.