The answer is simple: the JNLP file.
答案很简单:JNLP文件。
Listing 2 shows an example JNLP file.
清单2表示了JNLP文件的一个示例。
The purpose of the JNLP file is as follows.
JNLP文件的目的如下。
Supporting download protocols as defined in the JNLP file.
支持JNLP文件中定义的下载协议。
The last interesting tag within a JNLP file is the security attribute.
JNLP文件中最后一个有趣的标记是security属性。
Listing 1 illustrates the various tags used within a JNLP file for an SWT application.
清单1说明了在SWT应用程序的JNLP文件中所使用的各种标记。
The JNLP codebase attribute is used to specify all relative URLs used in the JNLP file.
jnlpcodebase属性用于在jnlp文件中指定所有的相关url。
The JNLP file also allows JAR files to be updated incrementally, using the JARDiff utility.
JNLP文件还允许使用JARDiff实用程序来递增的更新JAR文件。
For more information about the various elements and format of a JNLP file, refer to Resources.
更多有关JNLP文件的各种元素和格式的信息,请参考下面的参考资料。
Note that the only resources that a client may download are JAR files, images, and JNLP files.
注意客户机可以下载的资源仅为JAR文件、图像和JNLP文件。
The JNLP is an XML file that provides the basic elements and descriptions for your application.
JNLP是一个为应用程序提供基本的元素和描述的XML文件。
The following observations about the example JNLP file may assist you in creating your own files
接下来对 JNLP文件的示例的评述也许在您创建自己的文件时对您有所帮助
Additionally, a Web server is needed and must be configured correctly to interpret all JNLP and MIME tags.
另外,需要Web服务器,而且Web服务器必须正确的配置来解释所有的JNLP和MIME标记。
A unique URL with a version ID is associated with each resource defined in the JNLP file, as shown in Listing 3.
一个有版本标识的唯一的URL与每个JNLP文件中定义的资源相关联。如清单3所示。
The JNLP file obtains and locates files in a manner similar to a Web browser, using only URLs and not specific file names.
JNLP文件以一种与Web浏览器相似的方式(仅用url而不是特定的文件名)来获得并定位文件。
createWebStartLaunchButton(jnlpURL) Outputs a button that when clicked, ensures webstart is installed and launches the specified JNLP.
createWebStartLaunchButton(jnlpURL)输出一个按钮,点击时确保WebStart已安装然后启动特定的JNLP
The resource tags allow for the JNLP file to specify which JAR files the application USES as well as how to download the JAR files; that is, either eagerly or lazily.
resource标记考虑到JNLP文件指定应用程序使用哪些JAR文件和如何下载JAR文件;即,是急切的还是不紧不慢的。
Therefore, when editing a JNLP file, the final file should be converted using the native2ascii tool that is provided with the JDK to ensure a proper encoding of the file.
所以,当编辑JNLP文件时,最终文件要用与JDK 一起提供的native2ascii工具转换来确保文件的编码正确。
Various classes in the JNLP API library allow developers to use a system's resources in an untrusted environment, assigning the user the responsibility to decide if the operation should be permitted.
JNLPapi库中的很多的类允许开发者在不可靠的环境使用系统的资源,由用户来负责决定操作是否是允许的。
Various classes in the JNLP API library allow developers to use a system's resources in an untrusted environment, assigning the user the responsibility to decide if the operation should be permitted.
JNLPapi库中的很多的类允许开发者在不可靠的环境使用系统的资源,由用户来负责决定操作是否是允许的。
应用推荐