Java Web Start: Difference between revisions

Content deleted Content added
m Popups-assisted redirection bypass from Sandbox (security) to Sandbox (computer security)
No edit summary
Line 1:
[[Image:Java WebStartApplicationMan.png|thumb|300px|'''Java Web Start''', introduced in '''Java 2''', allows provisioning applications over the [[World Wide Web|webWeb]] by clicking a [[Icon (computing)|desktop icon]] or a link on a website.]]
[[Image:Apple Java Web Start.png|left|80px]]
 
'''Java Web Start''' is a framework developed by [[Sun Microsystems]] that enables starting [[Java programming language|Java]] applications[[application]]s directly from the [[World Wide Web|webWeb]] using a [[webWeb browser|browser]]. Unlike [[Java applet]]s, Web Start applications do not run inside the browser, and the [[Sandbox (computer security)|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 [[plugin]]s and different [[Java virtual machine|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 javaJava webWeb startStart application.
 
Web Start also provides a series of classes in the <code>[http://java.sun.com/products/javawebstart/docs/javadoc/index.html javax.jnlp]</code> [[Packages in Java|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) withoutwhile givingrestricting the application the ability to doauthorized what it likes with those resourcesoperations.
 
Version 1.0 of Web Start was introduced by Sun in March [[2001]]{{ref|pr}}, and ever since [[Java 2 Platform, Standard Edition|J2SE]] version 1.4 it has been included by default with the [[Java Runtime Environment]] (JRE) and does not have to be installed separately.
 
'''JNLP''' ('''Java Network Launching Protocol''') 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 (file format)|jar]] package file and the name of the main class for the application, in addition to any other parameters for the program. With the right browser configuration, JNLP files are passed to a Java Runtime Environment which in turn downloads the application onto the user's machine and starts executing it.
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|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.
 
==References==
{{note|pr}} [http://www.sun.com/smi/Press/sunflash/2001-03/sunflash.20010314.1.html Java Web Start 1.0 press release]
 
==External links==
Line 15 ⟶ 18:
* [http://java.sun.com/products/javawebstart/download-spec.html Java Web Start Architecture JNLP Specification & API Documentation]
* [http://webstartfaq.com/ Unofficial Java Web Start/JNLP FAQ]
* [http://lopica.sourceforge.net/ref.html JNLP Tag Reference]
 
[[Category:Java platform]]