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.
|Published (Last):||3 July 2015|
|PDF File Size:||2.27 Mb|
|ePub File Size:||10.40 Mb|
|Price:||Free* [*Free Regsitration Required]|
Examples specifiction practices described in this page don’t take advantage of improvements introduced in later releases. The following table describes the elements and attributes commonly used in JNLP files.
Click the parent link to view an element’s parent. Value of the attribute can be 1. Indicates the suggested use of the icon, can be: Can be used to describe the RIA’s preference for creating a shortcut to run online or offline.
Java Web Start – Wikipedia
Can be used to indicate the RIA’s preference for putting a shortcut on the user’s desktop. Can be used to indicate the RIA’s preference for putting a menu item in the user’s start menus. Can be used to hint to the JNLP client that the RIA wants to be registered with the operating system as the primary handler of certain extensions and a certain mime-type.
If this element is included, either the offline-allowed element must also be included, or the href attribute must be set for the jnlp element. A list of file extensions separated by spaces that the RIA requests it be registered to handle.
The preference for jhlp the JNLP client should check for updates. Value can be always, timeout, or background. Values can be always, prompt-update, or prompt-run. Can be used to request enhanced permissions. If this element is not included, the application is run in the security sandbox.
Structure of the JNLP File
Requests hnlp the RIA be run with a permission set that meets the security specifications of the J2EE application client environment.
The URL denoting the supplier of this version of Java software, and from where it can be downloaded. Can be used to indicate that all package names, beginning with the given name, can be found in the given part. Defines a system property that will be available through the System. A JNLP file must contain one of the following: The name of the class containing the public static void main String method of the application.
Each argument contains in order an additional argument to be passed to the main method.
What Is JNLP All About? | A JNLP Tutorial: Part 1—An Introduction to JNLP | InformIT
The name of the class containing the public static void main String method of the installer. For more information about character encoding in the Java platform, see the Supported Encodings Guide. Deploying a Java Web Start Application. Avoiding Unnecessary Update Checks. Java Network Launch Protocol.
Java Network Launch Protocol
This table does not include all possible contents of the JNLP file. Java Network Launch Protocol Next page: The operating system for which this information element should be considered.
An indicator as to the type of description. Legal values are one-line, short, and tooltip. A URL pointing to the icon file. Can be in one of the following formats: Indicates that this RIA can operate when the client system is disconnected from the network.
Can be used to indicate the RIA’s preference for where to place the menu item. The requested version of the JAR file. Requires using the version-based download protocol.
Can be used to group resources together so that they are downloaded at the same time. Can be used to group resources together so they will be downloaded at the same time.
A pointer to an additional component-desc or installer-desc to be specifivation with this RIA. Can be used in an extension element to denote the parts contained in a component-extension. Denotes the name of a part in this JNLP file in which to include the extension.