Operating Systems: i5/OS
             Personalize the table of contents and search results

 

Running Thin application client code on a server machine

 

This topic provides the steps necessary to run Thin application client code on a server machine. You must install WebSphere Application Server before performing this task.

 

Procedure

  1. Set up the Thin application client environment. 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_server_root/bin/setupClient [-profileName profileName]
      

  2. Run the Java compilation command to compile your client application. Run the following command on the Qshell command line.

    javac -J-Djava.version=1.5 -classpath "$WAS_CLASSPATH:jars_and_classes" -extdirs $WAS_EXT_DIRS app_class.java

  3. Run the application client. Run the following command on a Qshell command line.

    java ${JAVA_FLAGS_EXT} -classpath "$WAS_CLASSPATH:jars_and_classes" -Djava.naming.provider.url=URL class_name app_parm
    
    When using the WebSphere Application Server launcher, run the following command on a Qshell command line:

    java ${JAVA_FLAGS_EXT} -classpath "$WAS_CLASSPATH:jars_and_classes" -Djava.naming.provider.url=URL com.ibm.ws.bootstrap.WSLauncher class_name app_parm
    

 

Example

View the Samples gallery for more information about the Application Client.


}
Thin application clients

 

Related tasks


Running Thin application client code
Developing applications that use JNDI
Running an unmanaged Web services JAX-RPC client
Using the Administration Thin Client