<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <id>tag:www.local-guru.net,2005:/blog/tag/webstart</id>
  <link type="text/html" href="http://www.local-guru.net" rel="alternate"/>
  <link type="application/atom+xml" href="http://www.local-guru.net/blog/tag/webstart.atom" rel="self"/>
  <title>GuruBlog : Articles about webstart</title>
  <subtitle>local-guru.net</subtitle>
  <updated>2010-01-11T11:22:00+01:00</updated>
  <generator>GuruBlog engine</generator>
  <entry>
    <id>tag:www.local-guru.net,2005:Article/223</id>
    <published>2010-01-11T11:22:00+01:00</published>
    <updated>2010-01-11T11:22:00+01:00</updated>
    <link type="text/html" href="http://www.local-guru.net//blog/2010/1/11/deploying-processing-apps-using-webstart" rel="alternate"/>
    <author>
      <name>Nikolaus Gradwohl</name>
    </author>
    <title type="html">Deploying Processing apps using WebStart</title>
    <category term="processing" scheme="http://www.local-guru.net/blog/tag/processing"/>
    <category term="java" scheme="http://www.local-guru.net/blog/tag/java"/>
    <category term="webstart" scheme="http://www.local-guru.net/blog/tag/webstart"/>
    <content type="html">&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;
</content>
  </entry>
</feed>

