Java EE 应用程序客户机应用程序的 JNLP 描述符文件
部署描述符文件是客户机应用程序的主要 Java™ 网络启动程序协议 (JNLP) 描述符文件。
以下是 Java EE 应用程序客户机应用程序的客户机应用程序 JNLP 描述符文件的示例:
<?xml version="1.0" encoding="utf-8"?>
<!--
This sample program is provided AS IS and may be used, executed, copied and modified
without royalty payment by customer (a) for its own instruction and study, (b) in order
to develop applications designed to run with an IBM WebSphere product, either for customer's
own internal use or for redistribution by customer, as part of such an application, in
customer's own products.
Licensed Materials - Property of IBM
5724-I63, 5724-H88, 5724-H89, 5655-N02, 5724-J08
Copyright IBM Corp. 2008 All Rights Reserved.
US Government Users Restricted Rights - Use, duplication or
disclosure restricted by GSA ADP Schedule Contract with
IBM Corp.
-->
<jnlp spec="1.0+" codebase="http://your_server:port_number/jws/wasappclient/apps/">
<information>
<title>Java EE Client Example</title>
<vendor>IBM</vendor>
<homepage href="null"/>
<description>Java WebStart example: Launching Java EE Application Client</description>
<description kind="short">Java EE Applicaiton Client</description>
<description kind="tooltip">Java EE Application Client</description>
</information>
<security>
<all-permissions/>
</security>
<resources>
<j2se href="http://your_server:port_number/jws/wasappclient/JREDownload.xjnlp" version="1.6"/>
<jar href="../lib/WebSphereClientLauncher.jar" download="eager" main="false"/>
<jar href="../lib/properties.jar" download="eager" main="false"/>
<jar href="SwingCalculator.ear" download="eager" main="false"/>
<property name="com.ibm.websphere.client.launcher.ear" value="SwingCalculator.ear"/>
</resources>
<application-desc main-class="com.ibm.websphere.client.launcher.ClientLauncher">
<argument>-CCproviderURL=corbaloc:iiop:tiu03.torolab.ibm.com:2809</argument>
</application-desc>
</jnlp>