Post by The Guy on Dec 2, 2008 21:40:10 GMT
e your new application over the web? There was a time when, for the end user, this simply meant clicking on your link which would download and run the installer. Lately though Microsoft have decided that this was an insecure solution. So instead of being able to download the file, Internet Explorer now brings up a helpful yellow bar across the top of the screen telling you that it has blocked the download, along with a prompt to tell you that you have to click on the yellow bar (plus 2 clicks). The user can then start the download, but will receive a prompt about running the file (plus 1 click). Once run they may even be lucky enough to receive yet another Vista UAC warning (plus 1 click). So what used to be a simple process now involves at least 4 security warnings, and while most users will click through these with about as much thought as they would put into changing gears in a car (which frankly defeats the whole purpose of having the warnings anyway, but that’s another topic) it does still pose an unnecessary complication.
WebStart is Suns deployment solution for Java applications, which addresses some of these issues. With a one or two clicks a user can download, update, install and run a Java application.
For the Java developer creating an application that can be launched with WebStart only involves creating one JNLP file, which is an XML document used to define a description of the Java application, where it is downloaded from and how it should be installed and run. The Java application itself doesn’t need to be modified or prepared in any way. WebStart not only makes it easy for the end user to run a Java application, but it is also easy to implement for the developer too.
WebStart also has the advantage of letting users run fully fledged Java applications without the limitations imposed by Java applets (as an example an applet can not use more than around 100MB of memory without the user specifically allowing it). From the end users point of view though they simply click a link, watch WebStart install the application, and then have the application open up in a new window. Few users would realize, or care, that they are no longer working in a web browser.
In previous articles I showed you how to add 3D to a web page using the Papervision 3D Flash engine. It’s a neat solution, and because it uses the Flash plugin the 3D can be inserted right into the web page. Papervision does have some performance limitations though; it can only display a few simple 3D models at a decent frame rate. Here I will show you how to use WebStart to provide an (almost) seamless way to launch a fully fledged 3D application from the web using the Irrlicht 3D engine and the Jirr Java language bindings.
WebStart is Suns deployment solution for Java applications, which addresses some of these issues. With a one or two clicks a user can download, update, install and run a Java application.
For the Java developer creating an application that can be launched with WebStart only involves creating one JNLP file, which is an XML document used to define a description of the Java application, where it is downloaded from and how it should be installed and run. The Java application itself doesn’t need to be modified or prepared in any way. WebStart not only makes it easy for the end user to run a Java application, but it is also easy to implement for the developer too.
WebStart also has the advantage of letting users run fully fledged Java applications without the limitations imposed by Java applets (as an example an applet can not use more than around 100MB of memory without the user specifically allowing it). From the end users point of view though they simply click a link, watch WebStart install the application, and then have the application open up in a new window. Few users would realize, or care, that they are no longer working in a web browser.
In previous articles I showed you how to add 3D to a web page using the Papervision 3D Flash engine. It’s a neat solution, and because it uses the Flash plugin the 3D can be inserted right into the web page. Papervision does have some performance limitations though; it can only display a few simple 3D models at a decent frame rate. Here I will show you how to use WebStart to provide an (almost) seamless way to launch a fully fledged 3D application from the web using the Irrlicht 3D engine and the Jirr Java language bindings.