This document describes the most commonly used elements of a JNLP file. For a complete description of the format, refer to the specification. The JNLP file is an. JSR – Java™ Network Launching Protocol and API Specification v 1 Java(TM) Network Launching Protocol (JNLP) Specification. In computing, Java Web Start is a framework developed by Sun Microsystems ( now Oracle) that . jnlp spec=”+” codebase=”” href=””> Launch applet with Web Start Foo Bar.

Author: Zulubei Vuzshura
Country: Turks & Caicos Islands
Language: English (Spanish)
Genre: Personal Growth
Published (Last): 11 August 2008
Pages: 183
PDF File Size: 9.52 Mb
ePub File Size: 11.59 Mb
ISBN: 642-7-22169-586-7
Downloads: 56153
Price: Free* [*Free Regsitration Required]
Uploader: Daitilar

Can be used to group resources together so that they are downloaded at the same time. Exact product versions implementation versions may also be specified.

A JNLP file can contain multiple icon elements that differ by their kind attribute. The most obvious answer is: The application, however, can be run offline. This attribute can be omitted if the Applet class can be found from the Main-Class manifest entry in the main JAR file. Value can be always, timeout, or background. The jar file will typically contain Java classes that contain the code for the particular application, but can also contain other resources, such as icons and configuration files, that are available through the getResource mechanism.

JNLP File Syntax

Currently defined platform inlp are 1. A standard encoding of the information needed to launch a Java application whose components are hosted by one or more web servers. Can be used to indicate this extension may be downloaded eagerly or lazily.

End users can trust a reliable JNLP Client because it will not allow any harmful behavior by client applications.

From Wikipedia, the free encyclopedia. Can be used to indicate an application’s preference for putting a shortcut on the users desktop. The format used in this release is that specified in JSR Unlike Java appletsWeb Start applications do not run inside the browser. For more information about character encoding in the Java platform, see the Supported Encodings Guide.


Structure of the JNLP File

A URL pointing to the icon file. The application, however, spefification be run offline. The title element specifies the title of the application. The related-content element has a mandatory href and title attribute.

The application element has an optional attribute, main-classwhich can be used to specify the name of the application’s main class, i. This feature would give you the capability of deploying your application automatically that is, installing needed application files and launching them properly just by declaring where your files are on the Web.

Indicates the preference for how the JNLP Client should handle an application update when it is known an update is available before the application is launched. The capability of using platform-dependent facilities such as shortcuts, accelerators, and the like. It includes the original 1. Sun designed most of these services with the aim of allowing carefully controlled access to resources spscification as files and the system clipboard while restricting the application to authorized operations.

What Is JNLP All About? | A JNLP Tutorial: Part 1—An Introduction to JNLP | InformIT

The components of this infrastructure are likely to include:. The java-vm-args attribute of the j2se element specifies a preferred set of virtual machine arguments to use when launching java.

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. October Learn how and when to remove this template message.

Java Network Launch Protocol. We have a java app which uses Java Web Start. That would be great. Value of the attribute can be 1. A component extension is typically used to factor out a set of resources that are shared between multiple applications or that have separate security needs.


Each argument contains in order an additional argument to be passed to the main method. The following properties are considered “secure” and will be passed to the VM in this way: Then imagine adding capabilities, such as distinguishing between versions of the same file depending on some local parameter, and so on.

A description element without a kind is used as a default value. Versioning and incremental updates. By using our site, you acknowledge that you have read and understand our Cookie PolicyPrivacy Policyand our Terms of Service.

The optional association element is a hint to the JNLP client that it wishes to be registered with the operating system as the primary handler of certain extensions and a certain mime-type.

Who will configure the JVM to launch your application this way? This is important because you can take advantage of this technology in a transparent way to your users. The resources element is used to specify all the resources, such as Java class files, native libraries, and system properties, that are part of the application. This is the main xml element for a jnlp file. The optional shortcut element can be used to indicate an application’s preferences for desktop integration.

If an application requests full access, then all JAR files must be signed. The following table describes the elements and attributes commonly used in JNLP files. Requests that the application be run with all permissions. This support provides easy migration of existing code to Java Web Start. A short statement about the application.

Indicates that this application can operate when the client system is disconnected from the network.

Posted in Art