<?xml version="1.0" encoding="utf-8"?><!-- generator="wordpress/2.0.2" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Why I will never deploy with Java Web Start again</title>
	<link>http://joust.kano.net/weblog/archive/2006/04/06/why-i-will-never-deploy-with-java-web-start-again/</link>
	<description>A weblog for Keith Lea and the Joust Project.</description>
	<pubDate>Mon, 15 Mar 2010 08:02:19 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.2</generator>

	<item>
		<title>by: Parveen Beniwal</title>
		<link>http://joust.kano.net/weblog/archive/2006/04/06/why-i-will-never-deploy-with-java-web-start-again/#comment-2174</link>
		<pubDate>Thu, 27 Apr 2006 05:52:15 +0000</pubDate>
		<guid>http://joust.kano.net/weblog/archive/2006/04/06/why-i-will-never-deploy-with-java-web-start-again/#comment-2174</guid>
					<description>I am having only 45 users and at one time maximum three users are downloading using JWS but still the downloading dialog gets hang and progress bar remains constant eg. 60% or 80% without downloading further. What may be the possible causes for this ?</description>
		<content:encoded><![CDATA[<p>I am having only 45 users and at one time maximum three users are downloading using JWS but still the downloading dialog gets hang and progress bar remains constant eg. 60% or 80% without downloading further. What may be the possible causes for this ?
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Keith Lea</title>
		<link>http://joust.kano.net/weblog/archive/2006/04/06/why-i-will-never-deploy-with-java-web-start-again/#comment-2131</link>
		<pubDate>Thu, 20 Apr 2006 18:03:02 +0000</pubDate>
		<guid>http://joust.kano.net/weblog/archive/2006/04/06/why-i-will-never-deploy-with-java-web-start-again/#comment-2131</guid>
					<description>Erik, 
* I was using Java 5
* It doesn't make any sense to say the problems are because of IE. Am I supposed to ask every user to install Firefox? I have never ever seen this behavior in a web application, so I guess it's JWS-specific.
* I was using Pack200</description>
		<content:encoded><![CDATA[<p>Erik,<br />
* I was using Java 5<br />
* It doesn&#8217;t make any sense to say the problems are because of IE. Am I supposed to ask every user to install Firefox? I have never ever seen this behavior in a web application, so I guess it&#8217;s JWS-specific.<br />
* I was using Pack200
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Keith Lea</title>
		<link>http://joust.kano.net/weblog/archive/2006/04/06/why-i-will-never-deploy-with-java-web-start-again/#comment-2130</link>
		<pubDate>Thu, 20 Apr 2006 18:01:15 +0000</pubDate>
		<guid>http://joust.kano.net/weblog/archive/2006/04/06/why-i-will-never-deploy-with-java-web-start-again/#comment-2130</guid>
					<description>John, it just doesn't work for a lot of people. There's nothing special about the number of users.</description>
		<content:encoded><![CDATA[<p>John, it just doesn&#8217;t work for a lot of people. There&#8217;s nothing special about the number of users.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Alski</title>
		<link>http://joust.kano.net/weblog/archive/2006/04/06/why-i-will-never-deploy-with-java-web-start-again/#comment-2128</link>
		<pubDate>Thu, 20 Apr 2006 16:41:51 +0000</pubDate>
		<guid>http://joust.kano.net/weblog/archive/2006/04/06/why-i-will-never-deploy-with-java-web-start-again/#comment-2128</guid>
					<description>Having deployed two applications with web start using 1.4 and 1.5, I'd say my most recent and largest complaint is the poor handling of certificates when downloading from a secure (HTTPS) server. Man, is it awful!</description>
		<content:encoded><![CDATA[<p>Having deployed two applications with web start using 1.4 and 1.5, I&#8217;d say my most recent and largest complaint is the poor handling of certificates when downloading from a secure (HTTPS) server. Man, is it awful!
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: AnonymousJavaGuy</title>
		<link>http://joust.kano.net/weblog/archive/2006/04/06/why-i-will-never-deploy-with-java-web-start-again/#comment-2127</link>
		<pubDate>Thu, 20 Apr 2006 16:02:00 +0000</pubDate>
		<guid>http://joust.kano.net/weblog/archive/2006/04/06/why-i-will-never-deploy-with-java-web-start-again/#comment-2127</guid>
					<description>I understand the problems you've hit with JWS, and I would say you are hitting the &quot;growing pains&quot; of a still fairly immature technology.  I know JWS has been out now for quite some time, but consider its progress and growing pains in comparison with the pace of other deployment technologies, and it doesn't look so bad.  Quite good actually!

Remember that the use cases for JWS apps are fairly unique.  It's solving a relatively unexplored problem:  auto-updating, web-based delivery of flexibly sandboxed applications that run outside the browser, integrated with the native desktop.  Think about what the technology is trying to solve:  if that use case doesn't match yours, then go with a native installer.  Personally, I think the sandboxing support (i.e. safe like an applet) but running outside the browser (i.e. not burdened with the web's navigation metaphors -- e.g. pages, refresh, round-trips) are worth the pain.  

Remember, if you use native installers, your users have to trust you 100% not to do naughty things in your code.  And if your site is hacked, and your native installers violated, that's quite different than if someone were to replace your JNLP and java code.  With the JNLP solution, the users would at least be warned the code wanted to do something naughty but was unsigned.  With the native installer ... !  That's a potential liability issue.

Last but not least, Java is (somewhat) open now -- why not go fix the problems you see and contribute them to Mustang?  You've been enjoying Java technology for free, why not give something back?  ;-)</description>
		<content:encoded><![CDATA[<p>I understand the problems you&#8217;ve hit with JWS, and I would say you are hitting the &#8220;growing pains&#8221; of a still fairly immature technology.  I know JWS has been out now for quite some time, but consider its progress and growing pains in comparison with the pace of other deployment technologies, and it doesn&#8217;t look so bad.  Quite good actually!</p>
<p>Remember that the use cases for JWS apps are fairly unique.  It&#8217;s solving a relatively unexplored problem:  auto-updating, web-based delivery of flexibly sandboxed applications that run outside the browser, integrated with the native desktop.  Think about what the technology is trying to solve:  if that use case doesn&#8217;t match yours, then go with a native installer.  Personally, I think the sandboxing support (i.e. safe like an applet) but running outside the browser (i.e. not burdened with the web&#8217;s navigation metaphors &#8212; e.g. pages, refresh, round-trips) are worth the pain.  </p>
<p>Remember, if you use native installers, your users have to trust you 100% not to do naughty things in your code.  And if your site is hacked, and your native installers violated, that&#8217;s quite different than if someone were to replace your JNLP and java code.  With the JNLP solution, the users would at least be warned the code wanted to do something naughty but was unsigned.  With the native installer &#8230; !  That&#8217;s a potential liability issue.</p>
<p>Last but not least, Java is (somewhat) open now &#8212; why not go fix the problems you see and contribute them to Mustang?  You&#8217;ve been enjoying Java technology for free, why not give something back?  ;-)
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: John</title>
		<link>http://joust.kano.net/weblog/archive/2006/04/06/why-i-will-never-deploy-with-java-web-start-again/#comment-2125</link>
		<pubDate>Thu, 20 Apr 2006 14:03:45 +0000</pubDate>
		<guid>http://joust.kano.net/weblog/archive/2006/04/06/why-i-will-never-deploy-with-java-web-start-again/#comment-2125</guid>
					<description>Can you elaborate on your comments that JWS &quot;doesn't work for a large number of users&quot;?  How does it fail?  I don't understand why the number of users changes anything.</description>
		<content:encoded><![CDATA[<p>Can you elaborate on your comments that JWS &#8220;doesn&#8217;t work for a large number of users&#8221;?  How does it fail?  I don&#8217;t understand why the number of users changes anything.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Erik</title>
		<link>http://joust.kano.net/weblog/archive/2006/04/06/why-i-will-never-deploy-with-java-web-start-again/#comment-2124</link>
		<pubDate>Thu, 20 Apr 2006 14:02:26 +0000</pubDate>
		<guid>http://joust.kano.net/weblog/archive/2006/04/06/why-i-will-never-deploy-with-java-web-start-again/#comment-2124</guid>
					<description>My experiences with Java Webstart are more along the lines of Shai's, so maybe you should try Java 5.  Also, many of your problems of no detection and not updating the app are due to Internet Exploder.  We have encountered a few strange issues that all come down to IE's cache settings.  This is a problem you would even experience with web apps since you can't control the browser settings on the client machine.  Another problem with the updates could be due to the timestamps of the jnlp and jar files.  A better way to handle when and what gets updated is to use version based downloads.  This way you specify a version number for all jar files in the jnlp file.  Only those that are a higher version get downloaded.  Take this a step further by providing the older version jar file along with the new one and you can use jar diffing to only download partial jar files.  Also, to mitigate the download size, you can easily provide pack200 compressed jar files so any client with JRE 5.0 will get the compressed jar file.  Currently, these features require the JnlpDownloadServlet to function.  You can find out more information about Java Webstart, Pack200, and JnlpDownloadServlet at this site:  https://deployment.dev.java.net/</description>
		<content:encoded><![CDATA[<p>My experiences with Java Webstart are more along the lines of Shai&#8217;s, so maybe you should try Java 5.  Also, many of your problems of no detection and not updating the app are due to Internet Exploder.  We have encountered a few strange issues that all come down to IE&#8217;s cache settings.  This is a problem you would even experience with web apps since you can&#8217;t control the browser settings on the client machine.  Another problem with the updates could be due to the timestamps of the jnlp and jar files.  A better way to handle when and what gets updated is to use version based downloads.  This way you specify a version number for all jar files in the jnlp file.  Only those that are a higher version get downloaded.  Take this a step further by providing the older version jar file along with the new one and you can use jar diffing to only download partial jar files.  Also, to mitigate the download size, you can easily provide pack200 compressed jar files so any client with JRE 5.0 will get the compressed jar file.  Currently, these features require the JnlpDownloadServlet to function.  You can find out more information about Java Webstart, Pack200, and JnlpDownloadServlet at this site:  <a href='https://deployment.dev.java.net/' rel='nofollow'>https://deployment.dev.java.net/</a>
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: ostense</title>
		<link>http://joust.kano.net/weblog/archive/2006/04/06/why-i-will-never-deploy-with-java-web-start-again/#comment-2096</link>
		<pubDate>Tue, 18 Apr 2006 10:22:18 +0000</pubDate>
		<guid>http://joust.kano.net/weblog/archive/2006/04/06/why-i-will-never-deploy-with-java-web-start-again/#comment-2096</guid>
					<description>We are a company running a bridge server with 10000 users. We have used JWS to deploy our client since 2002. Ir has been a great success!! If an applet was an alternative then I would rather do that, but the alternative is an installation on the users PC. It is so much easy'er to use JWS and most of your problems comes from bad implementation. There are several ways to do all automatic and do it in such a way that the users do not get mixed in what to do. JWS is a great idea and works as good as possible compared to an ordinary install. And also you have the benefit of always have client to be in synch with the latest version avail. At http://www.topbridge.com we have choosen an half automatic install and only received great feedback from our customers.</description>
		<content:encoded><![CDATA[<p>We are a company running a bridge server with 10000 users. We have used JWS to deploy our client since 2002. Ir has been a great success!! If an applet was an alternative then I would rather do that, but the alternative is an installation on the users PC. It is so much easy&#8217;er to use JWS and most of your problems comes from bad implementation. There are several ways to do all automatic and do it in such a way that the users do not get mixed in what to do. JWS is a great idea and works as good as possible compared to an ordinary install. And also you have the benefit of always have client to be in synch with the latest version avail. At <a href='http://www.topbridge.com' rel='nofollow'>http://www.topbridge.com</a> we have choosen an half automatic install and only received great feedback from our customers.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Shai Almog</title>
		<link>http://joust.kano.net/weblog/archive/2006/04/06/why-i-will-never-deploy-with-java-web-start-again/#comment-2036</link>
		<pubDate>Sun, 09 Apr 2006 18:32:39 +0000</pubDate>
		<guid>http://joust.kano.net/weblog/archive/2006/04/06/why-i-will-never-deploy-with-java-web-start-again/#comment-2036</guid>
					<description>Well, my money is where my mouth is... We just launched a quiet beta of a large scale application based on JWS. Some of your points are valid but most of your points are rather extream and you didn't specify the constraints of deployment (i.e. JVM versions etc...):
1. Java Web Start doesn’t work for a large number of users:
This was true for older versions, since Java 5 I haven't run into a single problem. Sure we are still in quiet beta so I won't say this is resolved :-)

2. Users don’t like the experience:
I strongly disagree! Most of the people I know despise applets, they make the browser hang while loading Java for the first time, they cause the entire browser to crash when they fail and in order to have any decent functionality they need a modern VM installed (so no advantage there).
Most of the people to whom I showed webstart LOVED the experience and were very surprised at how smooth it is. I just send out a link to the website with no instructions and technical people figure it out very easily, less technical people manage with a little help (or a better web site).

3. Java/JWS detection in the browser is necessary, and unreliable:
Yes, but thats a browser problem and NOT JWS's fault... 
Technically our website only supports modern browsers (mostly for CSS reasons) and so these browsers work better with the detection. Although IE was a pain because that piece of crap refused to detect JWS when I moved the code to a script file (Firefox worked great with the external script).

4. Users don’t know what JNLP files are:
Agreed. But they don't know what MSI, class, jar or many other types are... In Windows the default behavior is to hide the extension. Most users wouldn't care since they just click here and once they get used to it they will know...  Its a chicken and egg thing if JWS is ever successful.

5. You cannot make the user experience much better:
True, there is a limit to what you can do. However, if you will try the latest Mustang builds you will see that the user experience is much improved with 0 work on your part. Thats the advantage of using a standard deployment tool.

6. The only reasonable solution is native launchers:
It all depends on the use case. Native launchers will force you to deal with multiple versions and forcing users to upgrade manually. Everything has a price... However, JWS has a nice idea which you failed to mention the JDIC packager: https://jdic.dev.java.net/documentation/packager/example.html which takes a JNLP application and produces a NATIVE MSI installer or RPM package. This installer will then autoupdate over the network just like a standard JNLP application.


Don't get me wrong, I understand EXACTLY what you are ranting about and I can't say its unjustified. I just think you will be back with JWS when you try to use a different tool for something thats very appropriate to JWS.</description>
		<content:encoded><![CDATA[<p>Well, my money is where my mouth is&#8230; We just launched a quiet beta of a large scale application based on JWS. Some of your points are valid but most of your points are rather extream and you didn&#8217;t specify the constraints of deployment (i.e. JVM versions etc&#8230;):<br />
1. Java Web Start doesn’t work for a large number of users:<br />
This was true for older versions, since Java 5 I haven&#8217;t run into a single problem. Sure we are still in quiet beta so I won&#8217;t say this is resolved :-)</p>
<p>2. Users don’t like the experience:<br />
I strongly disagree! Most of the people I know despise applets, they make the browser hang while loading Java for the first time, they cause the entire browser to crash when they fail and in order to have any decent functionality they need a modern VM installed (so no advantage there).<br />
Most of the people to whom I showed webstart LOVED the experience and were very surprised at how smooth it is. I just send out a link to the website with no instructions and technical people figure it out very easily, less technical people manage with a little help (or a better web site).</p>
<p>3. Java/JWS detection in the browser is necessary, and unreliable:<br />
Yes, but thats a browser problem and NOT JWS&#8217;s fault&#8230;<br />
Technically our website only supports modern browsers (mostly for CSS reasons) and so these browsers work better with the detection. Although IE was a pain because that piece of crap refused to detect JWS when I moved the code to a script file (Firefox worked great with the external script).</p>
<p>4. Users don’t know what JNLP files are:<br />
Agreed. But they don&#8217;t know what MSI, class, jar or many other types are&#8230; In Windows the default behavior is to hide the extension. Most users wouldn&#8217;t care since they just click here and once they get used to it they will know&#8230;  Its a chicken and egg thing if JWS is ever successful.</p>
<p>5. You cannot make the user experience much better:<br />
True, there is a limit to what you can do. However, if you will try the latest Mustang builds you will see that the user experience is much improved with 0 work on your part. Thats the advantage of using a standard deployment tool.</p>
<p>6. The only reasonable solution is native launchers:<br />
It all depends on the use case. Native launchers will force you to deal with multiple versions and forcing users to upgrade manually. Everything has a price&#8230; However, JWS has a nice idea which you failed to mention the JDIC packager: <a href='https://jdic.dev.java.net/documentation/packager/example.html' rel='nofollow'>https://jdic.dev.java.net/documentation/packager/example.html</a> which takes a JNLP application and produces a NATIVE MSI installer or RPM package. This installer will then autoupdate over the network just like a standard JNLP application.</p>
<p>Don&#8217;t get me wrong, I understand EXACTLY what you are ranting about and I can&#8217;t say its unjustified. I just think you will be back with JWS when you try to use a different tool for something thats very appropriate to JWS.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Kyle Cordes</title>
		<link>http://joust.kano.net/weblog/archive/2006/04/06/why-i-will-never-deploy-with-java-web-start-again/#comment-2033</link>
		<pubDate>Sun, 09 Apr 2006 14:01:31 +0000</pubDate>
		<guid>http://joust.kano.net/weblog/archive/2006/04/06/why-i-will-never-deploy-with-java-web-start-again/#comment-2033</guid>
					<description>&lt;strong&gt;Why I will also never deploy with Java Web Start again&lt;/strong&gt;

Keith Lea pointed out that he will never deploy with Java Web Start again.
With Web Start in its current form, he&amp;#8217;s be deploying with it longer before I will use it again.  &amp;#8220;Never&amp;#8221; is much too soon.. here is why, echoing and expanding...</description>
		<content:encoded><![CDATA[<p><strong>Why I will also never deploy with Java Web Start again</strong></p>
<p>Keith Lea pointed out that he will never deploy with Java Web Start again.<br />
With Web Start in its current form, he&#8217;s be deploying with it longer before I will use it again.  &#8220;Never&#8221; is much too soon.. here is why, echoing and expanding&#8230;
</p>
]]></content:encoded>
				</item>
</channel>
</rss>
