瘦应用程序客户机应用程序的 JNLP 描述符文件
部署描述符文件是客户机应用程序的主要 Java™ 网络启动程序协议 (JNLP) 描述符文件。如果它是瘦应用程序客户机应用程序,那么启动程序类使用应用程序客户机运行时从属项的当前 JVM,并调用瘦应用程序客户机应用程序 main 方法。
以下是瘦应用程序客户机应用程序的 JNLP 描述符文件的示例。
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.
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.
-->
<!-
====================================================================
->
<!-- TODO: change "codebase" to the actual URL location of the jnlp file ->
====================================================================
->
<?xml version="1.0" encoding="utf-8"?>
<jnlp spec="1.0+"
codebase="http://your_server:port_number/jws/wasappclient/apps">
<information>
<title>Thin Base Calculator Client Samples</title>
<vendor>IBM</vendor>
<description>Thin Base Calculator Client Samples</description>
<offline-allowed/>
</information>
<security>
<all-permissions/>
</security>
<resources>
<j2se version="1.6" href="http://your_server:port_number/jws/wasappclient/JREDownload.xjnlp"/>
<jar href="/jws/wasappclient/lib/WebSphereClientLauncher.jar" main="true"/>
<jar href="BasicCalculatorClientCommon.jar"/>
<jar href="BasicCalculatorEJB.jar"/>
<jar href="BasicCalculatorThinClient.jar"/>
<property name="com.ibm.websphere.client.launcher.main"
value="com.ibm.websphere.samples.technologysamples.basiccalcthinclient.BasicCalculatorClientThinMain"/>
<property name="java.naming.factory.initial"
value="com.ibm.websphere.naming.WsnInitialContextFactory" />
<property name="java.naming.provider.url"
value="corbaloc:iiop:tiu03:2809"/>
</resources>
<add</argument>
<argument>1</argument>
<argument>2</argument>
</application-desc>
</jnlp>