+

Search Tips   |   Advanced Search

JNLP descriptor file for a Thin Application client application


The deployment descriptor file is the main Java Network Launcher Protocol (JNLP) descriptor file for the client application. If it is a Thin Application client application, then the launcher class uses the current JVM from the Application Clients run-time dependency and invokes the Thin Application client application main method.

 

Example

Here is an example of the JNLP descriptor file for a Thin Application client application.





  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. 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. 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://my_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://my_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>





 

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

 

Related


launchClient tool
Application client launcher for Java Web Start