The Source for Java Technology Collaboration
User: Password:



Igor Kushnirskiy's Blog

Igor Kushnirskiy Igor Kushnirskiy leads the development of the javax.swing.text package. Before that he has helped with Blackwood project and HotJava web browser.



Scenario Webstart Extension

Posted by idk on February 08, 2008 at 08:37 PM | Permalink | Comments (4)

Scenario version 0.5 is out. For the list of features and enhancements check out Hans's announcement here.

One of the things we have done for this and will do for future releases is to provide a webstart extension for Scenario binaries. Using the extension allows for simpler deployment for webstart enabled applications which use Scenario. Instead of hosting Scenario binaries on your website you can reference them using extension tag in resources section of you jnlp file. The extension for release 0.5 is available here: http://download.java.net/javadesktop/scenario/releases/0.5/Scenario-0.5.jnlp.

Take this demo for example: (Note: java 6 is required to run it)

Here is jnlp file for this demo:

<?xml version="1.0" encoding="UTF-8"?>
  <jnlp codebase="http://download.java.net/javadesktop/blogs/idk/02.08.2008" href="movie.jnlp">
  <information>
    <title>Countdown Film Demo</title>
    <vendor>Sun Microsystems, Inc.</vendor>
    <offline-allowed />
  </information>
  <resources>
     <j2se version="1.6+" href="http://java.sun.com/products/autodl/j2se" />
     <extension name="Scenario-0.5" 
       href="http://download.java.net/javadesktop/scenario/releases/0.5/Scenario-0.5.jnlp"/>
     <jar href="movie.jar" />
  </resources>
  <application-desc main-class="demo.movie.Movie"/>
</jnlp>

Resources

The sources for the demo are available here or in the scenario-demos repository here.



April 2008
Sun Mon Tue Wed Thu Fri Sat
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30      


Search this blog:
  

Categories
Community: JDK
J2SE
Archives

February 2008
September 2006

Recent Entries

Scenario Webstart Extension

Readonly subversion repository for JDK sources under the JRL license



Powered by
Movable Type 3.01D


 Feed java.net RSS Feeds