Running the Pluggable application client code
This topic provides steps to install and use the Pluggable application client.
WebSphere Application Server supports the pluggable client.
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
- Install the pluggable application client by selecting option Pluggable Application Client from the Custom client installation panel.
- Set the Java application pluggable client environment by using the setupClient command, located in:
app_client_root\AppClient\bin\setupClient.bat
- 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.
- Run a Java command to invoke your client application.
"%JAVA_HOME%\bin\java" %WAS_LOGGING% -Djava.security.auth.login.config="%APP_SERVER_ROOT%\properties\wsjaas_client.conf" -classpath "%WAS_CLASSPATH%;<list_of_your_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://<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.
Accessing the Samples (Samples Gallery)