Java Web Start: Difference between revisions

Content deleted Content added
m See also: + link to applets
clean up using AWB
Line 3:
 
In [[computing]], '''Java Web Start''' (also known as '''JavaWS''' or as '''javaws'''), a [[Software framework|framework]] developed by [[Sun Microsystems]], allows users to start [[application software]] for the [[Java Platform]] directly from the [[Internet]] using a [[web browser]].
 
 
== Functionality ==
Line 11 ⟶ 10:
== Implementation ==
 
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>
Line 28 ⟶ 27:
JNLP works in a similar fashion to how HTTP/HTML works for the web. For rendering a HTML [[webpage]], after the user clicks on a weblink, the browser submits a URL to a [[webserver]], which replies with a 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 — or on request if the "Load Images Automatically" browser-setting remains unset.
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 a 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.
 
== Pack200 compression ==
Line 39 ⟶ 38:
== 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]].
 
== Criticism ==
Line 52 ⟶ 51:
 
== Well-known applications ==
 
* [http://www.playclockwiser.com Clockwiser] &ndash; a free puzzle game
* [[CrossFTP]] &ndash; a user friendly FTP client and server
* [http://rptools.net RPTools] &ndash; RPTools, a suite of applications to aid in playing [[Role-playing game | RPGs]].
* [[DataReport Tool]] &ndash; a tool developed by Caprion Proteomics for viewing, analyzing and filtering a set of differentially expressed proteins
* [[Genie Workbench]] &ndash; a set of film production automation tools.
Line 76 ⟶ 74:
 
== 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]