WAS v8.5 > Develop applications > Develop Client applications > Develop client applications

Run the Pluggable Application Client code

This topic provides steps for installing and using the Pluggable Application Client.

Remember: The Pluggable Application Client is available only on Windows systems. Both Java EE application clients and Thin application clients can access JMS resources provided by the default messaging provider.

Deprecated feature: The Pluggable Application Client is deprecated. It is replaced by the stand-alone thin client, IBM Thin Client for EJB.

  1. Install the Pluggable Application Client.

    Read Install and uninstall the Pluggable Application Client for WAS for more information,

  2. Set the Java application pluggable client environment using the setupClient command.

  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="%JAVA_JRE%\lib\ext;%WAS_EXT_DIRS%;%WAS_HOME%\plugins;%WAS_HOME%\lib\WMQ\java\lib" 
    -Djava.naming.provider.url=iiop://<your_application_client_machine_name> 
    -Djava.naming.factory.initial=com.ibm.websphere.naming.WsnInitialContextFactory 
    -Djava.endorsed.dirs="%WAS_ENDORSED_DIRS%"
    %CLIENT_ROOT% %CLIENTSAS% %CLIENTSSL% <fully_qualified_class_name_to_run>


Subtopics


Related


Install the Pluggable Application Client using the GUI
Install the Pluggable Application Client using response files
Uninstall the Pluggable Application Client using the GUI
Uninstall the Pluggable Application Client using response files


+

Search Tips   |   Advanced Search