Network Deployment (Distributed operating systems), v8.0 > Administer applications and their environment > Administer Messaging resources > Manage messaging with the default messaging provider > Use JMS from stand-alone clients to interoperate with service integration resources > Use JMS to connect to a WAS default messaging provider messaging engine


Configure the Thin Client for JMS with WAS

To use the Thin Client for JMS with WAS copy the com.ibm.ws.sib.client.thin.jms_7.0.0.jar and any other required files from the application server or application client %WAS_HOME%/runtimes directory.

The Thin Client for JMS with WAS can be used for default messaging provider messaging engines for WAS v6.0.2 or later. The connection to the messaging engine can be either TCP or SSL. HTTP connectivity is not supported.

Installation and configuration of the client in an OSGi environment is different and described in Configure the Thin Client for JMS with WAS in an OSGi environment.

We can install the client in any location and run it in any supported Java 2 Platform Standard Edition 1.5.0 (also known as 5.0) or above Java Runtime Environment (JRE). The client supports the following JREs:

The client does not require any further configuration after installation, apart from adding the jar file or files to the classpaths for your client application. We can choose either to create JMS connection factories programmatically, or use the JNDI. If required, you can use secure connections by configuring SSL settings.


Procedure

  1. Install the client in the required location. The client is always installed in the /runtimes directory of a WAS installation, and might optionally be installed by the Application Client for WAS, which is a separate WAS deliverable. The client is shipped as three files:

    • com.ibm.ws.sib.client.thin.jms_7.0.0.jar - the regular JMS Client.
    • com.ibm.ws.sib.client_ExpeditorDRE_7.0.0.jar - the JMS Client packaged for Lotus Expeditor.
    • sibc.nls.zip - language-specific resource bundles. We can extract any combination of these files. The client jar already includes US English, so you only need the additional language files from sibc.nls.zip if you require languages other than non-US English.

  2. Include the appropriate jar file or files in the classpaths for your client application:

    1. To compile JMS code, include the client jar file in the CLASSPATH setting for the javac command.

    2. To run JMS code, include the client jar file and any required optional language files extracted from sibx.nls.zip in the CLASSPATH setting for the java command.

  3. Configure the required JMS resources as described in Use JMS resources with the Thin Client for JMS with WAS.

  4. If you require secure connections, configure SSL as described in Secure JMS client and JMS resource adapter connections.

+

Search Tips   |   Advanced Search