140 likes | 464 Views
Java Web Start. Introduction. Java Web Start , introduced in Java 2 , allows provisioning applications over the Web by clicking a desktop icon or a link on a website.
E N D
Introduction • Java Web Start, introduced in Java 2, allows provisioning applications over the Web by clicking a desktop icon or a link on a website.
Java Web Start is a framework developed by Sun Microsystems that enables starting Javaapplications directly from the Web using a browser. • Unlike Java applets, Web Start applications do not run inside the browser, and the sandbox in which they run does not have to be as restricted, although this can be configured. One chief advantage of Web Start over applets is that they overcome many compatibility problems with browsers' Java plugins and different JVM versions. • On the other hand, Web Start programs cannot communicate with the browser as easily as applets. To assist migration, a Java Applet can also be used as a Java Web Start application.
Web Start also provides a series of classes in the javax.jnlppackage which provide various services to the application. • Most of these services are designed around the idea of allowing carefully controlled access to resources (such as files and the system clipboard) while restricting the application to authorized operations. • Version 1.0 of Web Start was introduced by Sun in March 2001, and ever since J2SE version 1.4 it has been included by default with the Java Runtime Environment (JRE) and does not have to be installed separately.
Java Network Launching Protocol • Java Network Launching Protocol (JNLP) is a closely-related concept that is often used interchangeably with the term "Web Start." • It is the protocol, defined as an XML file format, that specifies how Java Web Start applications are started. JNLP files include information such as the location of the jar package file and the name of the main class for the application, in addition to any other parameters for the program. With a properly configured browser, JNLP files are passed to a Java Runtime Environment which in turn downloads the application onto the user's machine and starts executing it. JNLP was developed under the Java Community Process as JSR 56, which includes the original 1.0 release, the subsequent 1.5 maintenance release, and as of 2006, the pending 6.0 maintenance release. • Important Web Start features include the ability to automatically download and install JRE's in case the user does not have Java installed (although this does not work with every browser and platform), and for programmers to specify which JRE version is needed to run a given program. • Also, the user doesn't have to remain connected to the Internet to execute the downloaded programs, because they execute from a locally-maintained cache. Finally, automatic updates of the software from the Web is available when the user is connected to the Internet, thus easing the burden of deployment.
Known Webstart Applications • Gantt Project - A open source project management tool. • ArgoUML - A open source UML modeling tool.