<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>GuruBlog : Articles about webstart</title>
    <description>local-guru.net</description>
    <link>http://www.local-guru.net/blog</link>
    <ttl>40</ttl>
    <item>
      <title>Deploying Processing apps using WebStart</title>
      <link>http://www.local-guru.net//blog/2010/1/11/deploying-processing-apps-using-webstart</link>
      <description>&lt;p&gt;To deploy a processing sketch via java webstart export the sketch as an application (i used my &lt;a href="http://www.local-guru.net/blog/2009/12/15/random-lines-in-processing"&gt;randomlines&lt;/a&gt; sketch and exported it as a linux
application).&lt;/p&gt;

&lt;p&gt;then i wrote a simple jnlp file and copied the files to my webserver. The only thing thats left is providing a
link to the jnlp file like this.&lt;/p&gt;

&lt;p&gt;&lt;a href="http://www.local-guru.net/jnlp/randomlines/test.jnlp"&gt;click here to dowload and launch the application&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;More info on jnlp and webstart can be found
&lt;a href="http://java.sun.com/docs/books/tutorial/deployment/webstart/deploying.html"&gt;here&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;test.jnlp&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;
&amp;lt;jnlp spec="1.0+" codebase="" href=""&amp;gt;
    &amp;lt;information&amp;gt;
        &amp;lt;title&amp;gt;Processing Test&amp;lt;/title&amp;gt;
        &amp;lt;vendor&amp;gt;guru&amp;lt;/vendor&amp;gt;
        &amp;lt;icon href="http://www.local-guru.net/jnlp/randomlines/randomlines.png"/&amp;gt;
        &amp;lt;desktop/&amp;gt;
        &amp;lt;offline-allowed/&amp;gt;
        &amp;lt;shortcut online="false"&amp;gt;
              &amp;lt;desktop/&amp;gt;
        &amp;lt;/shortcut&amp;gt;
    &amp;lt;/information&amp;gt;
    &amp;lt;resources&amp;gt;
        &amp;lt;j2se version="1.5+" href="http://java.sun.com/products/autodl/j2se"/&amp;gt;
        &amp;lt;jar href="http://www.local-guru.net/jnlp/randomlines/lib/randomlines.jar" main="true" /&amp;gt;
        &amp;lt;jar href="http://www.local-guru.net/jnlp/randomlines/lib/core.jar" main="true" /&amp;gt;
    &amp;lt;/resources&amp;gt;
    &amp;lt;application-desc
         name="ProcessinTestApp"
         main-class="randomlines"
         width="300"
         height="300"&amp;gt;
     &amp;lt;/application-desc&amp;gt;
     &amp;lt;update check="background"/&amp;gt;
&amp;lt;/jnlp&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
</description>
      <pubDate>2010-01-11T11:22:00+01:00</pubDate>
    </item>
  </channel>
</rss>

