Use of JCP site is subject to the
JCP Terms of Use and the
Oracle Privacy Policy
|
JNLP Specification version 6.0 change logThis change log represents the proposed changes to The Java Network Launching Protocol (JNLP) from version 1.5.0 to version 6.0
A value of A value of A value of
A value of A value of A value of For example:
The following three query methods return true if a given resource, a given part, or a given part of a given extension is currently cached, respectively. In an untrusted environment, these methods must always return false for resources that are not from the codebase of current application, and are not mentioned in the JNLP file(s) of the application. The following three methods instruct the JNLP Client to download a given resource, a given part, or a given part of a given extension, respectively. The methods block until the download is completed or an error occurs. In an untrusted environment, these methods must always fail for resources that are not from the codebase of current application, and are not mentioned in the JNLP file(s) of the application. The following three methods instruct the JNLP Client to remove a given resource, a given part, or a given part of a given extension from the cache, respectively. The remove request is a hint to the JNLP Client that the given resource is no longer needed. In an untrusted environment, these methods must do nothing if a resource is not from the codebase of the current application, and is not mentioned in the JNLP file(s) of the application.
The sandbox environment described above is also the default initial set of permissions granted to an untrusted application or applet. The JNLP Client may allow the user to grant additional permissions interactivly. For example, the JNLP Client may intercept requests for printer access, socket connections, or clipboard access in the Security Manager, and display dialogs asking the user to grant such additional permissions.
The A resources definition can be restricted to a specific operating system, architecture, or locale using the os, arch, and locale attributes. For example:
Change "http://java.sun.com/j2se" to "http://java.sun.com/javase" (twice). Change "http://java.sun.com/j2se/1.5.0/" to "http://java.sun.com/javase/6".
Change "Java 2 Platform Standard Edition (J2SE)" to "Java Platform, Standard Edition". Change "http://java.sun.com/j2se/" to "http://java.sun.com/javase" (twice). Change "Java 2 Platform Enterprise Edition (J2EE)." to "Java Platform, Enterprise Edition." Change "http://java.sun.com/j2ee/" to "http://java.sun.com/javaee" twice).
Change "Java 2 Technology-based applications." to "Java applications".
Change "Java 2 Platform (JRE)" to "Java Runtime Environment (JRE)"
Change "Java 2 platform" to "JRE".
Change "Java 2 Platform Standard Edition" to "JRE"
Change "<j2se version=" to "<java version=". Change "Java 2 platform" to "Java platform".
Change "Java 2 SE" to "Java Platform, Standard Edition".
Change "Java 2 Standard Edition" to "Java Platform, Standard Edition". Change "e.g., 1.2." to "e.g., 1.6.0.". Change the sentence: “For example, "1.2.2* 1.3.0" is a Version string that will match the version-id's 1.2.2-w, 1.2.2.0, 1.3.0, and so forth.” to “For example, "1.5.0* 1.6.0" is a Version string that will match the version-id's 1.5.0, 1.5.0_01, 1.5.0_02, ..., and 1.6.0.”
Change "<j2se " to "<java ".
Change "6" to "7", and insert "java, " before "j2se, ". In the example change '<j2se version="1.2"/>' to '<java version="1.6"/>'.
Change "The j2se element" to "The java element (or the j2se element)". Change "Java 2 SE Runtime Environment (JRE)" to "Java Runtime Environment (JRE)". Change (in the example) "j2se" to "java" (three times). Change "j2se" to "java" in the two sentences following the example. Add sentence before version attribute: "The j2se element can be used interchangeably with java element for backward compatibility." Change "j2se element" to "java element" (three more times).
Change example from '<j2se version="1.2"/>' to '<java version="1.6"/>'. Change example from <j2se href="http://java.sun.com/products/j2se" version="1.2.2+"/> to <java href="http://java.sun.com/products/autodl/javase" version="1.6+"/>
Change example from: <j2se href="http://java.sun.com/..." version="1.2.2-w"> to <java href="http://java.sun.com/..." version="1.4.2_07">, and change <j2se version="1.3" initial-heap-size="64m"/> to <j2se version="1.6" initial-heap-size="64m"/> Change "Sun's Java 2 SE JRE, version 1.2.2-w" to "Sun's JRE, version 1.4.2_07". Change "the Java 2 platform, version 1.3" to "the Java Platform, Standard Edition, version 6" Change "j2se element" to "java element". (twice). Change "Sun's 1.2.2-w JRE" to "Sun's 1.4.2_07 JRE".
Change "j2se" to "java" (in table).
Change "j2se" to "java" (in table).
Change "j2se element" to "java element" (in table). Change "The j2se element contains" to "The java element contains". Change '<j2se version="1.3"' to '<java version="1.3"'(twice).
In resource element: Change "j2se | jar | nativelib" to "java | j2se | jar | nativelib". Before the j2se element insert the java element and all of it's attributes as follows: <!-- The java element describes a supported JRE version and an optional resources element to be used by the particular JRE.--> <!ELEMENT java (resources*)> <!-- The version attribute of the java element describes the versions of the JRE that this application is supported on. --> <!ATTLIST java version CDATA #REQUIRED> <!-- The href attribute of the java element specifies the location where the JRE should be downloaded from. --> <!ATTLIST java href CDATA #IMPLIED> <!-- The initial-heap-size attribute of the java element specifies the initial size of the object heap. --> <!ATTLIST java initial-heap-size CDATA #IMPLIED> <!-- The max-heap-size attribute of the java element specifies the preferred maximum size of the object heap. --> <!ATTLIST java max-heap-size CDATA #IMPLIED> <!-- The java-vm-args attribute of the java element specifies a preferred set of virtual machine arguments to use when launching java.--> <!ATTLIST java java-vm-args CDATA #IMPLIED>
|