+

Search Tips   |   Advanced Search

Run the Pluggable application client code


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

WAS 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.

 

  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 the specific Java client application JAR files to the CLASSPATH and start the Java client application from this environment, after setting the environment variables.

  4. Run a Java command to invoke the client application.

    "%JAVA_HOME%\bin\java" %WAS_LOGGING% -Djava.security.auth.login.config=
    "%WAS_HOME%\properties\wsjaas_client.conf"
    -classpath "%WAS_CLASSPATH%;<list_of_my_application_jars_and_classes> 
    -Djava.ext.dirs="%JAVA_JRE%\lib\ext;%WAS_EXT_DIRS%;%WAS_HOME%\plugins;%WAS_HOME%\lib\WMQ\java\lib" 
    -Djava.naming.provider.url=iiop:
    //<my_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.


Accessing the Samples (Samples Gallery)