WebStart Demo - File Viewer

Download and run WebStart (JNLP) Demo

View Demo.jnlp (source)

View webstart.Demo.java (source)

View jnlp-schema.xsd (JNLP 6.0 XML Schema)

Demo of creating WebStart Application

C:\Temp>mkdir webstart
C:\Temp>notepad webstart/Demo.java
C:\Temp>notepad Demo.jnlp
C:\Temp>javac webstart/Demo.java
C:\Temp>jar -cfe WebStartDemo-unsigned.jar webstart.Demo webstart
C:\Temp>jarsigner -keystore mykeystore.p12 -signedjar WebStartDemo.jar ^
More?   -tsa http://card.aloaha.com:8081/tsa.aspx WebStartDemo-Unsigned.jar mykey
C:\Temp>javaws Demo.jnlp
C:\Temp>