JLNP file for the "WebStartApiDemo" program.

Component Java
The Applet is dead; long live the Applet!
by Michael-Franz Mannion
Listing 1. JLNP file for the "WebStartApiDemo" program.


<?xml version="1.0" encoding="utf-8"?>

<jnlp spec="1.0.0.0"
codebase="http://www.cuttingedge.ch/wsapps/
wsexample" href="wsexample.jnlp">

  <information>
    <title>Cutting Edge Web Start Example
    </title>
    <vendor>Cutting Edge GmbH</vendor>
    <homepage href=
          "http://www.cuttingedge.ch"/>
    <description>Java Web Start API Demo
    </description>
    <icon href="ce-logo.gif"/>
    <offline-allowed/>
  </information>

  <security/>

  <resources>
    <j2se version="1.3+ 1.2+"/>
    <jar href="wsexample.jar"
          main="true" download="eager"/>
  </resources>

  <application-desc
    main-class="wsexample.WebStartApiDemo"/>

</jnlp>

About the Author

Michael-Franz Mannion is CEO of the Swiss-based IT consulting firm, Cutting Edge GmbH. He can be contacted at michael-franz. [email protected].