Documentation

The Java™ Tutorials
Hide TOC
Java Network Launch ProtocolJava网络启动协议
Trail: Deployment
Lesson: Deployment In-Depth

Java Network Launch ProtocolJava网络启动协议

The Java Network Launch Protocol (JNLP) enables an application to be launched on a client desktop by using resources that are hosted on a remote web server. Java网络启动协议(JNLP)通过使用托管在远程web服务器上的资源,使应用程序能够在客户端桌面上启动。Java Plug-in software and Java Web Start software are considered JNLP clients because they can launch remotely hosted applets and applications on a client desktop. Java插件软件和Java Web Start软件被认为是JNLP客户端,因为它们可以在客户端桌面上启动远程托管的小程序和应用程序。See Java Network Launching Protocol and API Specification Change Log for details.有关详细信息,请参阅Java网络启动协议和API规范更改日志

Recent improvements in deployment technologies enable us to launch rich Internet applications (RIAs) by using JNLP. 最近部署技术的改进使我们能够通过使用JNLP来启动富互联网应用程序(RIA)。Both applets and Java Web Start applications can be launched by using this protocol. 小应用程序和Java Web Start应用程序都可以使用该协议启动。RIAs that are launched by using JNLP also have access to JNLP APIs. 使用JNLP启动的RIA也可以访问JNLP API。These JNLP APIs allow the RIAs to access the client desktop with the user's permission.这些JNLP API允许RIA在用户许可的情况下访问客户端桌面。

JNLP is enabled by a RIA's JNLP file. The JNLP file describes the RIA. JNLP由RIA的JNLP文件启用。JNLP文件描述了RIA。The JNLP file specifies the name of the main JAR file, the version of Java Runtime Environment software that is required to run the RIA, name and display information, optional packages, runtime parameters, system properties, and so on.JNLP文件指定主JAR文件的名称、运行RIA所需的Java运行时环境软件的版本、名称和显示信息、可选包、运行时参数、系统属性等。

You can find more information about deploying RIAs by using JNLP in the following topics:您可以在以下主题中找到有关使用JNLP部署RIA的更多信息:


Previous page: Checking the Client JRE Software Version
Next page: Structure of the JNLP File