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

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

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

デプロイメント記述子ファイルは、クライアント・アプリケーションの Java Network Launcher Protocol (JNLP) 記述子のメイン・ファイルです。シン・アプリケーション・クライアント・アプリケーションの場合、ランチャー・クラスは Application Clients ランタイム依存関係の現行の 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."

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 -–>
<!–- ==================================================================== -–>
<?xml version="1.0" encoding="utf-8"?>
<jnlp spec="1.0+"
codebase="http://your_server:port_number/J2EEWebStartWeb/JavaClients/WebStartExample">
  	<information>
    <title>Thin Basic Calculator Client Samples</title>
    <vendor>IBM</vendor>
    <description>Thin Basic Calculator Client Samples</description>
    		<offline-allowed/>
  	</information>

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

  	<resources>
    <j2se version="WASClient6.1.0"
     href="/WebSphereClientRuntimeWeb/Runtime/WebSphereJre/AppClientRT.jspz"/>


    <extension name="WAS Thin EJB Client Library"
               href="/WebSphereClientRuntimeWeb/Runtime/WebSphereJars/AppClientLib.jnlp"/>

   <!–- you must use the jar resource for JWS LaunchClient class here if using JWS LaunchClient
 wrapper launcher -–>
   <jar href="/WebSphereClientRuntimeWeb/Runtime/WebSphereJars/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:your_server:port_number"/>
  <property name="com.ibm.CORBA.ConfigURL"

value="http://your_server:port_number/J2EEWebStartWeb/JavaClients/sas.client.props"/>
  <property name="com.ibm.SSL.ConfigURL"

value="http://your_server:port_number/J2EEWebStartWeb/JavaClients/ssl.client.props"/>

  <!-- *** Logging Properties ***
       <property name="com.ibm.websphere.client.launcher.jws.trace" />
       <property name="java.util.logging.configureByServer" value="true" />
       <property name="traceSettingsFile" value="TraceSettings.properties" />
       <property name="com.ibm.CORBA.Debug" value="true" />
       <property name="com.ibm.CORBA.CommTrace" value="true" />
       <property name="java.util.logging.manager" value="com.ibm.ws.bootstrap.WsLogManager" />
       <property name="com.ibm.CORBA.RasManager" value="com.ibm.websphere.ras.WsOrbRasManager" />
  -->
  	</resources>
    <application-desc>
      <argument>-CCDcom.ibm.ssl.keyStore=${WAS_ROOT}/etc/key.p12</argument>
      <argument>-CCDcom.ibm.ssl.trustStore=${WAS_ROOT}/etc/trust.p12</argument>
      <argument>add</argument>
      <argument>1</argument>
      <argument>2</argument>
  </application-desc>
</jnlp>



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

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

最終更新: Jan 21, 2008 10:52:11 PM EST
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/index.jsp?topic=/com.ibm.websphere.zseries.doc/info/zseries/ae/rcli_jnlpdesj2eethin.html