Running the Pluggable application client code

This topic provides steps to install and use the Pluggable application client.

Before you begin

WebSphere Application Server supports the pluggable client.

Remember: As you prepare to install the pluggable application client, remember that pluggable clients are only available on Windows systems.
Both J2EE application clients and Thin application clients can access JMS resources provided by the default messaging provider.

Procedure

  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 command, located in:
    app_client_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 a Java command to invoke your client application.
    "%JAVA_HOME%\bin\java" %WAS_LOGGING% -Djava.security.auth.login.config="%app_client_root%\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_application_server_machine_name> 
    -Djava.naming.factory.initial=com.ibm.websphere.naming.WsnInitialContextFactory 
    -Djava.endorsed.dirs="%WAS_ENDORSED_DIRS%"
    %SERVER_ROOT% %CLIENTSAS% %CLIENTSSL% <fully_qualified_class_name_to_run>
    

Example

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




In this information ...


Related concepts

IBM Redbooks, demos, education, and more

(Index)

Use IBM Suggests to retrieve related content from ibm.com and beyond, identified for your convenience.

This feature requires Internet access.

Task topic    

Terms of Use | Feedback

Last updated: Aug 29, 2010 5:25:00 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=vela&product=was-base-dist&topic=tcli_developpluggable
File name: tcli_developpluggable.html