WebSphere Application Server for z/OS, Version 6.1   
             オペレーティング・システム: z/OS

             目次と検索結果のパーソナライズ化

J2EE アプリケーション・クライアント・アプリケーションの JNLP 記述子ファイル

デプロイメント記述子ファイルは、クライアント・アプリケーションの Java Network Launcher Protocol (JNLP) 記述子のメイン・ファイルです。J2EE アプリケーション・クライアント・アプリケーションの場合 (アプリケーションのリソースに、クライアント・アプリケーションの EAR ファイルが含まれる)、ランチャー・クラスは、Application Clients ランタイムの依存関係により提供される JRE を使用して 2 番目の Java 仮想マシン (JVM) を始動し、EAR ファイルにパッケージされた J2EE アプリケーション・クライアント・アプリケーションを起動します。

以下は、J2EE アプリケーション・クライアント・アプリケーションのクライアント・アプリケーション 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."

Product 5630-A36,  (C) COPYRIGHT International Business Machines Corp., 2004
All Rights Reserved * Licensed Materials - Property of IBM
–->
<!–-
	This is a generic jnlp for a client app.  It will specify the WAS JRE
  			 as a dependency as well as the client launcher
–->
<!-- ==================================================================== -->
<!-- TODO: change "codebase" to the actual url location of this jnlp file -->
<!-- ==================================================================== -->
<jnlp spec="1.0+"
 codebase="http://your_server:port_number/J2EEWebStartWeb/JavaClients/WebStartExample">

  	<information>
    <title>J2EE Client Exampletitle>J2EE Client Example</title>
    <vendor>IBM Client Teamvendor>IBM Client Team</vendor>
    <description>JVE WebStart example of: J2EE Client Example</description>
    <description kind="short">J2EE Client Example</description>
    <description kind="tooltip">J2EE Client Example</description>
  	</information>

  	<security>
    <all-permissions/>
  </security>

  	<resources>

    <!–- ========================================================================= -–>
    <!–- TODO: Update the "version" value to match your Application Client runtime -–>
    <!–- 	    Update the "href" value to the url for downloading the Application  -–>
    <!–-       Client runtime.                                                     -–>
    <!–- ========================================================================= -–>
    <j2se version="WASClient6.1.0"
     href="/WebSphereClientRuntimeWeb/Runtime/WebSphereJre/AppClientRT.jsp"/

    <!–- The client app will require a client launcher -–>
    <jar href="../Launcher/WebSphereClientLauncher.jar" main="true"/>

    <!–- Ear we want to download to the client -–>
    <jar href="J2eeJWS.ear"/>

    <!–- The launcher depends on this property to be set -–>
    <property name="com.ibm.websphere.client.launcher.ear" value="J2eeJWS.ear"/>

  	</resources>

  <!–- WebStart will consider the Launcher as the app. to run  -–>
  <application-desc main-class="com.ibm.websphere.client.launcher.ClientLauncher">
    <argument>-CCproviderURL=corbaloc:iiop:your_server</argument>
    <argument>-CCDcom.ibm.ssl.keyStore=${WAS_ROOT}/etc/key.p12</argument>
    <argument>-CCDcom.ibm.ssl.trustStore=${WAS_ROOT}/etc/trust.p12</argument>
  </application-desc>
</jnlp>



関連タスク
Java Web Start 用アプリケーション・クライアント・ランタイム依存コンポーネントの準備
Java Web Start 用アプリケーション・クライアント・ランタイム・ライブラリー・コンポーネントの準備
Java Web Start の使用
関連資料
launchClient ツール
ClientLauncher クラス
参照トピック    

ご利用条件 | フィードバック

最終更新: Jan 21, 2008 9:12:22 PM EST
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r1/index.jsp?topic=/com.ibm.websphere.zseries.doc/info/zseries/ae/rcli_jnlpdesj2ee.html