Thursday, May 17th 2012, 5:25pm UTC+2

You are not logged in.

  • Login
  • Register

Manuel

Administrator

Posts: 255

Location: Erlangen, Germany

Occupation: Software Developer

1

Wednesday, November 26th 2008, 2:31pm

Deploying Software with Java Network Launching Protocol (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:

XML

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?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>

Rate this thread
WoltLab Burning Board