WebSphere Application Server Network Deployment, Version 6.0.x     Operating Systems: AIX, HP-UX, Linux, Solaris, Windows

Developing Pluggable application client code

Before you begin

As you prepare to install the Pluggable application client, remember that pluggable clients are only available on Windows systems.

Steps for this task

  1. Install the Pluggable application client by selecting option Pluggable Application Client from the Custom client installation panel.
  2. Set the Java application pluggable client environment by using the setupClient shell, located in:
    install_root\AppClient\bin\setupClient.bat
    
  3. Add your specific Java client application JAR files to the CLASSPATH and start your Java client application from this environment, after setting the environment variables.
  4. Run the following Java command to invoke your client application:
    "%JAVA_HOME%\bin\java" %WAS_LOGGING% -Djava.security.auth.login.config="%WAS_HOME%\properties\wsjaas_client.conf"
    -classpath "%WAS_CLASSPATH%;<list of your application jars and classes> -Djava.ext.dirs=%WAS_EXT_DIRS% 
    -Djava.naming.provider.url=iiop://<your WebSphere server machine name> 
    -Djava.naming.factory.initial=com.ibm.websphere.naming.WsnInitialContextFactory 
    %SERVER_ROOT% %CLIENTSAS% <fully qualified class name to run>
    $JAVA_HOME/bin/java $WAS_LOGGING 
    -classpath "$WAS_CLASSPATH: <list of your application jars and classes> -Djava.ext.dirs=$WAS_EXT_DIRS 
    -Djava.naming.provider.url=iiop://<your WebSphere server machine name> 
    -Djava.naming.factory.initial=com.ibm.websphere.naming.WsnInitialContextFactory 
    $SERVER_ROOT $CLIENTSAS <fully qualified class name to run>

Example

Samples Gallery



Related concepts
Accessing the Samples (Samples Gallery)

Task topic    

Terms of Use | Feedback

Last updated: Mar 17, 2005 4:28:29 AM CST
http://publib.boulder.ibm.com/infocenter/ws60help/index.jsp?topic=/com.ibm.websphere.nd.doc/info/ae/ae/tcli_developpluggable.html

© Copyright IBM Corporation 2004, 2005. All Rights Reserved.
This information center is powered by Eclipse technology. (http://www.eclipse.org)