+

Search Tips   |   Advanced Search

JNLP descriptor file for a Java EE Application client application

The deployment descriptor file is the main Java Network Launcher Protocol (JNLP) descriptor file for the client application.

Here is an example of the client application JNLP descriptor file for a Java EE Application client application:

<?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>


Related tasks

  • Preparing the application client run time dependency component for Java Web Start
  • Downloading and running a Java EE client application using Java Web Start

  • launchClient tool
  • ClientLauncher class