Examine individual changes
This page allows you to examine the variables generated by the Edit Filter for an individual change.
Variables generated for this change
Variable | Value |
---|---|
Whether or not the edit is marked as minor (no longer in use) (minor_edit ) | false |
Name of the user account (user_name ) | 'Mangeshvthakur' |
Whether or not a user is editing through the mobile interface (user_mobile ) | false |
Page ID (page_id ) | 2001574 |
Page namespace (page_namespace ) | 0 |
Page title without namespace (page_title ) | 'Java Web Start' |
Full page title (page_prefixedtitle ) | 'Java Web Start' |
Action (action ) | 'edit' |
Edit summary/reason (summary ) | '/* External links */ ' |
Old content model (old_content_model ) | 'wikitext' |
New content model (new_content_model ) | 'wikitext' |
Old page wikitext, before the edit (old_wikitext ) | 'In [[computing]], '''Java Web Start''' (also known as '''JavaWS''', '''javaws''' or '''JAWS''') is a [[Software framework|framework]] developed by [[Sun Microsystems]] (now [[Oracle Corporation|Oracle]]) that allows users to start [[application software]] for the [[Java Platform]] directly from the [[Internet]] using a [[web browser]]. Some key benefits of this technology include seamless version updating for globally distributed applications and greater control of memory allocation to the [[Java virtual machine]].
== Functionality ==
Unlike [[Java applet]]s, Web Start applications do not run inside the browser. By default they run in the same [[sandbox (computer security)|sandbox]] as applets, with several minor extensions like allowing to load and save the file that is explicitly selected by the user through the file selection dialog. Only [[Digital signature|signed]] applications can be configured to have additional permissions.
Web Start has an advantage over applets in that it overcomes many compatibility problems with browsers' Java [[Plug-in (computing)|plugin]]s and different [[Java virtual machine|JVM]] versions. Web Start programs are no longer an integrated part of the web page, they are independent applications that run in a separate frame.
Web Start can also launch unmodified applets that are packaged inside .jar files, by writing the appropriate JNLP file. This file can also pass the applet parameters. Such applets also run in a separate frame. Applet launcher may not support some specific cases like loading class as resource.
Like applets, Java Web Start is [[cross-platform]].
== Implementation ==
[[Image:Java WebStartApplicationMan.png|thumb|250px|Early versions of Java Web Start came with an application manager where, e.g., Sun's demo applications could be launched]]
The developer prepares a special XML file with JNLP extension. This file describes the application requirements, code ___location, parameters and additional permissions (if any). The browser downloads this file as any other and (following its [[MIME type]], <code>application/x-java-jnlp-file</code>) opens it with Web Start tool. Web Start tool downloads all necessary resources and launches the application.
Java Web Start provides a series of [[Class (computer science)|class]]es in the <code>[http://java.sun.com/products/javawebstart/docs/javadoc/index.html javax.jnlp]</code> [[Java package|package]] which provide various services to the application. Sun designed most of these services with the aim of allowing carefully controlled access to resources (such as files and the system clipboard) while restricting the application to authorized operations.
Sun introduced version 1.0 of Web Start in March 2001,<ref>
[http://www.sun.com/smi/Press/sunflash/2001-03/sunflash.20010314.1.html Java Web Start 1.0 press release]
</ref> while 64-bit Windows support was added only in Java 6<ref name="win64">[http://bugs.sun.com/view_bug.do?bug_id=4802695 Bug ID 4802695, Support 64-bit Java Plug-in and Java webstart on Windows/Linux on AMD64]</ref> (later than 64-bit Java was first available). Since [[Java Platform, Standard Edition|J2SE]] 1.4 Web Start comes as a default part of [[Java Runtime Environment]] (JRE) called <code>javaws</code>, computer administrators no longer have to install it separately.
== Java Network Launching Protocol (JNLP) ==
Programmers often speak of the '''Java Network Launching Protocol''' ('''JNLP''') interchangeably with the term "Web Start". The JNLP protocol, defined with an [[XML]] schema, specifies how to launch Java Web Start applications. JNLP consists of a set of rules defining how exactly to implement the launching mechanism. 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. A properly configured browser passes JNLP files to a Java Runtime Environment (JRE) which in turn downloads the application onto the user's machine and starts executing it. The development of JNLP took place under the [[Java Community Process]] as JSR 56. {{Clarification needed span|text=It includes the original 1.0 release, the subsequent 1.5 maintenance release, and {{as of | 2006 | lc = on}}, the pending 6.0 maintenance release.|date=April 2013}}
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 a given program needs in order to execute. The user does not have to remain connected to the Internet to execute the downloaded programs, because they execute from a locally maintained [[cache (computing)|cache]]. Updates of the software download from the Web and become available when the user has a connection to the Internet, thus easing the burden of deployment.
Any computer user can use JNLP simply by installing a JNLP client (most commonly Java Web Start). The installation can occur automatically such that the end-user sees the client launcher downloading and installing the Java application when first executed.
JNLP works in a similar fashion to how HTTP/HTML works for the web. For [[web browser engine | render]]ing an HTML [[webpage]], after the user clicks on a weblink, the browser submits a URL to a [[webserver]], which replies with an HTML file. The browser then requests the resources referred to by this file (images, [[cascading style sheets|css]]), and finally renders the page once it has received enough information. Page rendering usually starts before all resources have downloaded; some resources not critical to the layout of the page (such as images) can follow on afterwards.
JNLP mirrors this process; in the same way that a Web browser renders a webpage, a JNLP client "renders" a [[Java application|Java app]]. After the user clicks on a weblink, the browser submits an URL to a webserver, which replies with a JNLP file (instead of a HTML file) for the application. The JNLP client parses this file, requests the resources specified (jar files), waits for the retrieval of all required resources, and then launches the application. The JNLP file can list resources as "lazy", which informs the JNLP client that the application does not need those resources to start, but can retrieve them later on when/if the application requests them.
== Example ==
The example below gives a simple JNLP file to launch the applet, specifying code base, source, main class and window size. Such file contains all necessary references and is self-sufficient to launch the application. As no permissions are requested, the code will run in a sandbox. JNLP also states that this application can run offline (if already cached) and should be updated as a background process.
<source lang='xml'>
<?xml version="1.0" encoding="UTF-8"?>
<jnlp spec="1.0+" codebase="http://ultrastudio.org/upload" href="">
<information>
<title>Launch applet with Web Start</title>
<vendor>Foo Bar Inc.</vendor>
<offline-allowed/>
</information>
<resources>
<j2se version="1.5+" href="http://java.sun.com/products/autodl/j2se"/>
<jar href="Ray-2.3-4ca60e46-0956-3f22-983c-e3ed986dfd03.jar" main="true" />
</resources>
<applet-desc name="Ray diagram applet" main-class="raydiagramsapplet.Main" width="300" height="200">
</applet-desc>
<update check="background"/>
</jnlp>
</source>
== Pack200 compression ==
To reduce the size of a Java Web Start application Sun Microsystems introduced a compression system called [[Pack200]] in Java 1.5.0. It can compress a large jar file to one-ninth of its original size if it contains only Java classes.<ref>[http://java.sun.com/javase/6/docs/technotes/guides/deployment/deployment-guide/pack200.html#pack200_compression Pack200 and Compression for Network Deployment]</ref>
Java Web Start has supported Pack200 since it first appeared, but initially this feature required server-side cooperation and a certain amount of expertise to set up. When Sun introduced Java SE 6u10, Pack200 support became available without the need for special server support. Application designers can enable or disable this feature within JNLP files.
On slow connections Pack200 gives a performance boost in application startup time and download time.
== Signed Web Start applications ==
By default, Java Web Start applications run "restricted", which means that they do not have access to some system resources such as local files. But publishers can remove these restrictions by signing their Web Start applications with the <code>jarsigner</code> tool that comes with the [[Java Development Kit|JDK]].
== Alternatives ==
The open-source [[IcedTea]] project provides an alternative JNLP implementation in ''IcedTea-Web''.<ref>[http://icedtea.classpath.org/wiki/FrequentlyAskedQuestions FrequentlyAskedQuestions]. IcedTea wiki.</ref>
== Notable applications ==
{{unreferenced|section|date=January 2016}}
* [[ArgoUML]] – an [[Unified Modeling Language|UML]] diagramming application.
* [[CrossFTP]] – an FTP client and server.
* [[Elluminate Live]] – a web conferencing / virtual classroom program.
* [[Ganymede (software)|Ganymede]] – a GPL-licensed network directory management system
* [[Genie Workbench]] – a set of film production automation tools.
* [[Genevestigator]], access engine to the curated bioinformatical database.
* [[Jake2]] – A Java port of Quake 2.
* [[JOSM]] – The Java [[OpenStreetMap]] editor.
* [[JabRef]] a reference management software that uses [[BibTeX]] as its native format
* [[muCommander]] A file Manager and Norton Commander clone with SSH and ftp features
* [[PowerTeacher]] – a gradebook program for student scores: part of the [[PowerSchool]] student information system used by schools.
* [[PoxNora]] – a [[3/4 perspective]], [[turn-based strategy]], [[collectible card game]].
* [[Wurm Online]] – a 3D Massively Multiplayer Online Fantasy Simulator.
* [[yEd]] – a graph and diagram editor.
== See also ==
{{Portal|Java}}
* [[Java applet]]s, another Java application deployment technology.
* [[Zero Install]], a similar system which works for non-Java applications.
* [[ClickOnce]], [[Microsoft]] [[.NET Framework|.NET]]'s similar framework.
==References==
{{Reflist}}
==External links==
* [http://www.oracle.com/technetwork/java/javase/javawebstart/index.html Java Web Start product page]
* {{dmoz|/Computers/Programming/Languages/Java/Development_Tools/Deployment/Java_Web_Start_and_JNLP|Java Web Start and JNLP}}
* [http://www.oracle.com/technetwork/articles/javase/index-135962.html Deploying Software with JNLP and Java Web Start]
* [http://download.oracle.com/javase/6/docs/technotes/guides/javaws/developersguide/contents.html Java Web Start Developer Guide (6.0)]
* [http://www.jcp.org/en/jsr/detail?id=56 JSR 56]: Java Network Launching Protocol and API
* [http://www.techrepublic.com/article/deploy-full-featured-applications-with-java-web-start/6120125Java Web Start tutorial]{{dead link|date=September 2016|bot=medic}}{{cbignore|bot=medic}} at archive.org
* [http://today.java.net/pub/a/today/2005/08/11/webstart.html Getting Started with Java Web Start]
JNLP implementations other than Sun's reference implementation:
* [http://jnlp.sourceforge.net/netx/ Netx]
* [http://icedtea.classpath.org/wiki/IcedTea-Web IcedTea-Web] (based on Netx)
* [http://sourceforge.net/projects/openjnlp/ OpenJNLP]
* [http://xito.sourceforge.net/ xito]
{{Java (Sun)}}
[[Category:Java platform|Web Start]]
[[Category:Java specification requests|Web Start]]
[[Category:2001 introductions]]' |
New page wikitext, after the edit (new_wikitext ) | 'In [[computing]], '''Java Web Start''' (also known as '''JavaWS''', '''javaws''' or '''JAWS''') is a [[Software framework|framework]] developed by [[Sun Microsystems]] (now [[Oracle Corporation|Oracle]]) that allows users to start [[application software]] for the [[Java Platform]] directly from the [[Internet]] using a [[web browser]]. Some key benefits of this technology include seamless version updating for globally distributed applications and greater control of memory allocation to the [[Java virtual machine]].
== Functionality ==
Unlike [[Java applet]]s, Web Start applications do not run inside the browser. By default they run in the same [[sandbox (computer security)|sandbox]] as applets, with several minor extensions like allowing to load and save the file that is explicitly selected by the user through the file selection dialog. Only [[Digital signature|signed]] applications can be configured to have additional permissions.
Web Start has an advantage over applets in that it overcomes many compatibility problems with browsers' Java [[Plug-in (computing)|plugin]]s and different [[Java virtual machine|JVM]] versions. Web Start programs are no longer an integrated part of the web page, they are independent applications that run in a separate frame.
Web Start can also launch unmodified applets that are packaged inside .jar files, by writing the appropriate JNLP file. This file can also pass the applet parameters. Such applets also run in a separate frame. Applet launcher may not support some specific cases like loading class as resource.
Like applets, Java Web Start is [[cross-platform]].
== Implementation ==
[[Image:Java WebStartApplicationMan.png|thumb|250px|Early versions of Java Web Start came with an application manager where, e.g., Sun's demo applications could be launched]]
The developer prepares a special XML file with JNLP extension. This file describes the application requirements, code ___location, parameters and additional permissions (if any). The browser downloads this file as any other and (following its [[MIME type]], <code>application/x-java-jnlp-file</code>) opens it with Web Start tool. Web Start tool downloads all necessary resources and launches the application.
Java Web Start provides a series of [[Class (computer science)|class]]es in the <code>[http://java.sun.com/products/javawebstart/docs/javadoc/index.html javax.jnlp]</code> [[Java package|package]] which provide various services to the application. Sun designed most of these services with the aim of allowing carefully controlled access to resources (such as files and the system clipboard) while restricting the application to authorized operations.
Sun introduced version 1.0 of Web Start in March 2001,<ref>
[http://www.sun.com/smi/Press/sunflash/2001-03/sunflash.20010314.1.html Java Web Start 1.0 press release]
</ref> while 64-bit Windows support was added only in Java 6<ref name="win64">[http://bugs.sun.com/view_bug.do?bug_id=4802695 Bug ID 4802695, Support 64-bit Java Plug-in and Java webstart on Windows/Linux on AMD64]</ref> (later than 64-bit Java was first available). Since [[Java Platform, Standard Edition|J2SE]] 1.4 Web Start comes as a default part of [[Java Runtime Environment]] (JRE) called <code>javaws</code>, computer administrators no longer have to install it separately.
== Java Network Launching Protocol (JNLP) ==
Programmers often speak of the '''Java Network Launching Protocol''' ('''JNLP''') interchangeably with the term "Web Start". The JNLP protocol, defined with an [[XML]] schema, specifies how to launch Java Web Start applications. JNLP consists of a set of rules defining how exactly to implement the launching mechanism. 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. A properly configured browser passes JNLP files to a Java Runtime Environment (JRE) which in turn downloads the application onto the user's machine and starts executing it. The development of JNLP took place under the [[Java Community Process]] as JSR 56. {{Clarification needed span|text=It includes the original 1.0 release, the subsequent 1.5 maintenance release, and {{as of | 2006 | lc = on}}, the pending 6.0 maintenance release.|date=April 2013}}
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 a given program needs in order to execute. The user does not have to remain connected to the Internet to execute the downloaded programs, because they execute from a locally maintained [[cache (computing)|cache]]. Updates of the software download from the Web and become available when the user has a connection to the Internet, thus easing the burden of deployment.
Any computer user can use JNLP simply by installing a JNLP client (most commonly Java Web Start). The installation can occur automatically such that the end-user sees the client launcher downloading and installing the Java application when first executed.
JNLP works in a similar fashion to how HTTP/HTML works for the web. For [[web browser engine | render]]ing an HTML [[webpage]], after the user clicks on a weblink, the browser submits a URL to a [[webserver]], which replies with an HTML file. The browser then requests the resources referred to by this file (images, [[cascading style sheets|css]]), and finally renders the page once it has received enough information. Page rendering usually starts before all resources have downloaded; some resources not critical to the layout of the page (such as images) can follow on afterwards.
JNLP mirrors this process; in the same way that a Web browser renders a webpage, a JNLP client "renders" a [[Java application|Java app]]. After the user clicks on a weblink, the browser submits an URL to a webserver, which replies with a JNLP file (instead of a HTML file) for the application. The JNLP client parses this file, requests the resources specified (jar files), waits for the retrieval of all required resources, and then launches the application. The JNLP file can list resources as "lazy", which informs the JNLP client that the application does not need those resources to start, but can retrieve them later on when/if the application requests them.
== Example ==
The example below gives a simple JNLP file to launch the applet, specifying code base, source, main class and window size. Such file contains all necessary references and is self-sufficient to launch the application. As no permissions are requested, the code will run in a sandbox. JNLP also states that this application can run offline (if already cached) and should be updated as a background process.
<source lang='xml'>
<?xml version="1.0" encoding="UTF-8"?>
<jnlp spec="1.0+" codebase="http://ultrastudio.org/upload" href="">
<information>
<title>Launch applet with Web Start</title>
<vendor>Foo Bar Inc.</vendor>
<offline-allowed/>
</information>
<resources>
<j2se version="1.5+" href="http://java.sun.com/products/autodl/j2se"/>
<jar href="Ray-2.3-4ca60e46-0956-3f22-983c-e3ed986dfd03.jar" main="true" />
</resources>
<applet-desc name="Ray diagram applet" main-class="raydiagramsapplet.Main" width="300" height="200">
</applet-desc>
<update check="background"/>
</jnlp>
</source>
== Pack200 compression ==
To reduce the size of a Java Web Start application Sun Microsystems introduced a compression system called [[Pack200]] in Java 1.5.0. It can compress a large jar file to one-ninth of its original size if it contains only Java classes.<ref>[http://java.sun.com/javase/6/docs/technotes/guides/deployment/deployment-guide/pack200.html#pack200_compression Pack200 and Compression for Network Deployment]</ref>
Java Web Start has supported Pack200 since it first appeared, but initially this feature required server-side cooperation and a certain amount of expertise to set up. When Sun introduced Java SE 6u10, Pack200 support became available without the need for special server support. Application designers can enable or disable this feature within JNLP files.
On slow connections Pack200 gives a performance boost in application startup time and download time.
== Signed Web Start applications ==
By default, Java Web Start applications run "restricted", which means that they do not have access to some system resources such as local files. But publishers can remove these restrictions by signing their Web Start applications with the <code>jarsigner</code> tool that comes with the [[Java Development Kit|JDK]].
== Alternatives ==
The open-source [[IcedTea]] project provides an alternative JNLP implementation in ''IcedTea-Web''.<ref>[http://icedtea.classpath.org/wiki/FrequentlyAskedQuestions FrequentlyAskedQuestions]. IcedTea wiki.</ref>
== Notable applications ==
{{unreferenced|section|date=January 2016}}
* [[ArgoUML]] – an [[Unified Modeling Language|UML]] diagramming application.
* [[CrossFTP]] – an FTP client and server.
* [[Elluminate Live]] – a web conferencing / virtual classroom program.
* [[Ganymede (software)|Ganymede]] – a GPL-licensed network directory management system
* [[Genie Workbench]] – a set of film production automation tools.
* [[Genevestigator]], access engine to the curated bioinformatical database.
* [[Jake2]] – A Java port of Quake 2.
* [[JOSM]] – The Java [[OpenStreetMap]] editor.
* [[JabRef]] a reference management software that uses [[BibTeX]] as its native format
* [[muCommander]] A file Manager and Norton Commander clone with SSH and ftp features
* [[PowerTeacher]] – a gradebook program for student scores: part of the [[PowerSchool]] student information system used by schools.
* [[PoxNora]] – a [[3/4 perspective]], [[turn-based strategy]], [[collectible card game]].
* [[Wurm Online]] – a 3D Massively Multiplayer Online Fantasy Simulator.
* [[yEd]] – a graph and diagram editor.
== See also ==
{{Portal|Java}}
* [[Java applet]]s, another Java application deployment technology.
* [[Zero Install]], a similar system which works for non-Java applications.
* [[ClickOnce]], [[Microsoft]] [[.NET Framework|.NET]]'s similar framework.
==References==
{{Reflist}}
==External links==
* [http://www.oracle.com/technetwork/java/javase/javawebstart/index.html Java Web Start product page]
* {{dmoz|/Computers/Programming/Languages/Java/Development_Tools/Deployment/Java_Web_Start_and_JNLP|Java Web Start and JNLP}}
* [http://www.oracle.com/technetwork/articles/javase/index-135962.html Deploying Software with JNLP and Java Web Start]
* [http://download.oracle.com/javase/6/docs/technotes/guides/javaws/developersguide/contents.html Java Web Start Developer Guide (6.0)]
* [http://www.jcp.org/en/jsr/detail?id=56 JSR 56]: Java Network Launching Protocol and API
* [https://www.24x7servermanagement.com/blog/manual-installation-of-nginx-in-cpanel-apache-in-proxy-mode/ Java Need for Nginx In cPanel Apache In Proxy Mode]{{cbignore|bot=medic}} at 24x7servermanagement.com
* [http://today.java.net/pub/a/today/2005/08/11/webstart.html Getting Started with Java Web Start]
JNLP implementations other than Sun's reference implementation:
* [http://jnlp.sourceforge.net/netx/ Netx]
* [http://icedtea.classpath.org/wiki/IcedTea-Web IcedTea-Web] (based on Netx)
* [http://sourceforge.net/projects/openjnlp/ OpenJNLP]
* [http://xito.sourceforge.net/ xito]
{{Java (Sun)}}
[[Category:Java platform|Web Start]]
[[Category:Java specification requests|Web Start]]
[[Category:2001 introductions]]' |
Whether or not the change was made through a Tor exit node (tor_exit_node ) | 0 |
Unix timestamp of change (timestamp ) | 1475046538 |