Java Web Start

Java Web Start

Java Web Start is a framework developed by Sun Microsystems which allows application software for the Java Platform to be started directly from the Internet using a web 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 [http://java.sun.com/products/javawebstart/docs/javadoc/index.html javax.jnlp] package 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. [ [http://www.sun.com/smi/Press/sunflash/2001-03/sunflash.20010314.1.html Java Web Start 1.0 press release] ] 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 Web Start is similar to ClickOnce in the .NET framework.

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 with an XML schema, that specifies how Java Web Start applications are launched. JNLP consists of a set of rules defining how exactly this launching mechanism should be implemented. 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. JNLP is free; developers are not required to pay a license fee in order to use it in programs. Important Web Start features include the ability to automatically download and install a JRE in the case where the user does not have Java installed, and for programmers to specify which JRE version is needed to run a given program. The user does not 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 are available when the user is connected to the Internet, thus easing the burden of deployment.

Anyone can reap the benefits provided by JNLP by simply installing a JNLP Client (most commonly Java Web Start). This Client Installation can be made automatic, so that the end users can see the client launcher automatically downloaded and installed before the Java application the first time they launch the latter.

JNLP works on a classic Client-Server scheme. The JNLP Client reads and executes the JNLP File (that is the XML file) eventually contacting a JNLP Server or some web server for help. The JNLP Client runs locally on the client system whereas the server is implemented by some servlet and is used only for some advanced features of the protocol.

Well-known applications

* Wurm Online – A 3D Massively Multiplayer Online Fantasy Simulator.
* PoxNora – A 3/4 perspective, turn-based strategy, collectible card game
* CrossFTP – A user friendly FTP client and server
* Vuze (client), a bittorrent client

See also

* ClickOnce - A similar system for the .Net Framework.
* Zero Install - A similar system which works for non-Java applications.

References

External links

* [http://java.sun.com/products/javawebstart/ Sun's Java Web Start product page]
* [http://java.sun.com/developer/technicalArticles/Programming/jnlp/ Deploying Software with JNLP and Java Web Start]
* [http://java.sun.com/products/javawebstart/download-spec.html Java Web Start Architecture JNLP Specification & API Documentation]
* [http://www.jcp.org/en/jsr/detail?id=56 JSR 56] (JNLP 1.0, 1.5 and 6.0)
* [http://www.connectandwork.com/external Startdirectory Connect and Work]
* [http://articles.techrepublic.com.com/5100-3513-6120125.html Java Web Start tutorial]
* [http://today.java.net/pub/a/today/2005/08/11/webstart.html Getting Started with Java Web Start]


Wikimedia Foundation. 2010.

Игры ⚽ Поможем сделать НИР

Look at other dictionaries:

  • Java Web Start — est un outil informatique de déploiement de logiciels fondés sur la technique Java. Sommaire 1 Sécurité 2 Utilisation de Java Web Start 2.1 Lancement à partir d un navigateur Web …   Wikipédia en Français

  • Java Web Start — Application Manager Java Web Start (часто JavaWS)  технология компании Sun Microsystems, позволяющая запускать приложения на Java из …   Википедия

  • Java Web Start — ist eine Technik von Sun Microsystems, die es ermöglicht, Java Anwendungen über das Internet mit nur einem Klick zu starten. Im Unterschied zu Java Applets benötigen Java Web Start Anwendungen keinen Browser, um ablaufen zu können. Bei jedem… …   Deutsch Wikipedia

  • Java Web Start — es la implementación de referencia de la especificación Java Networking Launching Protocol (JNLP) y está desarrollada por Sun Microsystems, mediante la cual permite arrancar aplicaciones Java que están en un servidor web de aplicaciones… …   Wikipedia Español

  • Java Web Start — es una tecnología desarrollada por Sun Microsystems mediante la cual permite arrancar aplicaciones Java que están en un servidor web de aplicaciones comprobando previamente si el cliente tiene la versión actualizada de dicha aplicación. Si no es… …   Enciclopedia Universal

  • Java Network Launching Protocol — Java Web Start ist eine Technik von Sun Microsystems, die es ermöglicht, Java Anwendungen über das Internet mit nur einem Klick zu starten. Im Unterschied zu Java Applets benötigen Java Web Start Anwendungen jedoch keinen Browser, um ablaufen zu… …   Deutsch Wikipedia

  • Java Webstart — Java Web Start ist eine Technik von Sun Microsystems, die es ermöglicht, Java Anwendungen über das Internet mit nur einem Klick zu starten. Im Unterschied zu Java Applets benötigen Java Web Start Anwendungen jedoch keinen Browser, um ablaufen zu… …   Deutsch Wikipedia

  • Java (informatique) — Java (langage) Pour les articles homonymes, voir Java.  Ne doit pas être confondu avec JavaScript …   Wikipédia en Français

  • Java (langage de programmation) — Java (langage) Pour les articles homonymes, voir Java.  Ne doit pas être confondu avec JavaScript …   Wikipédia en Français

  • Java 5 — Java (langage) Pour les articles homonymes, voir Java.  Ne doit pas être confondu avec JavaScript …   Wikipédia en Français

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”