Establishing shareable persistent socket connections

Use WebSphere® Application Server to configure a J2C connection factory that creates shareable persistent socket connections.

To establish shareable persistent socket connections:

Procedure

  1. In WebSphere Application Server administrative console, configure a J2C connection factory.
  2. Specify a value of FALSE for the CM0Dedicated property of the connection factory. For managed connections, your application uses JNDI to locate this connection factory.
  3. For shareable persistent socket connections, the client ID is set for you automatically by the IMS TM resource adapter. If your application uses generated code, the shareable persistent socket connection is obtained by the generated code. If your application uses the Common Client Interface (CCI) of the IMS TM resource adapter, ensure that you do not provide a value for the clientID property of the IMSConnectionSpec object that is passed in the getConnection method.