epubjs
Version:
Render ePub documents in the browser, across many devices
25 lines (24 loc) • 2.47 kB
HTML
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Java Web Start</title><link rel="stylesheet" href="core.css" type="text/css"/><meta name="generator" content="DocBook XSL Stylesheets V1.74.0"/></head><body><div class="sect1" title="Java Web Start"><div class="titlepage"><div><div><h1 class="title"><a id="learnjava3-CHP-23-SECT-4"/>Java Web Start</h1></div></div></div><p><a id="I_indexterm23_id827589" class="indexterm"/>The Java Web Start API is an alternative to using applets.
<a id="I_indexterm23_id827598" class="indexterm"/><a id="I_indexterm23_id827604" class="indexterm"/>Java Web Start uses the Java Network Launching Protocol
(JNLP) to transparently download and install Java applications locally.
The only thing the user has to do is to click on the install link on a web
page. The installed applications can then be launched just like any
installed application, by clicking on an icon on the desktop or through
the Start menu, but they continue to be managed by the Java security
policy unless otherwise authorized by the user. Web Start applications
also automatically check for upgrades and update themselves over the Net.
Java Web Start is a form of <span class="emphasis"><em>zero administration</em></span>
client installation, which implies that the client doesn’t have to do any
work to install or maintain the application. JNLP applications may be
signed (allowing the user to grant them fine-grained privileges), or
unsigned. But even unsigned JNLP applications can take advantage of
standard APIs that prompt the user for permission to perform basic
operations, such as opening files and printing.</p><p>Packaging your application to use JNLP is relatively easy, but we
won’t get into it here. The process mainly involves creating a JNLP
deployment file that lists your JARs and specifies any special permission
they require. You must then include an appropriate link in your web page
that uses Web Start. The first time a user tries to install a JNLP
application, he will have to install the Java Plug-in. Thereafter, the
Java Web Start component manages all JNLP installs. See <a class="ulink" href="http://bit.ly/13xLt0s">Oracle’s website</a> for more information.</p></div></body></html>