Running a Java thin client application on a client machine

To run a Java thin client application on a machine with Application Client for WebSphere® Application Server installed, use the setup Client command then start the application.

Before you begin

Before performing this task, you must install the Java thin application client from the Application Client for WebSphere Application Server installation.

Procedure

  1. Set up the client application environment. Run the setupClient command.
    [IBM i] Use the setupClient script.
    1. Start the Qshell environment. On the CL command line, run the STRQSH command.
    2. On the Qshell command line, run the following command using the dot (.) operator:
      . app_client_root/bin/setupClient [-profileName profileName]
  2. Run a Java command to invoke your client application.
    [IBM i] Run the following command on the Qshell command line:
    java ${JAVA_FLAGS_EXT} -classpath "$WAS_CLASSPATH:jars_and_classes" -Djava.naming.provider.url=URL class_name app_parm
Task topic    

Terms and conditions for information centers | Feedback

Last updated: April 18, 2014 05:01 AM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=phil&product=was-nd-iseries&topic=tcli_developthinclient
File name: tcli_developthinclient.html