Establishing dedicated persistent socket connections
Use WebSphere® Application Server to configure a J2C connection factory that creates dedicated persistent socket connections.
About this task
Procedure
- In WebSphere Application Server administrative console, configure a J2C connection factory.
- Specify a value of TRUE for the CM0Dedicated property of the connection factory. For managed connections, your application uses JNDI to locate this connection factory.
- In your application, set the commitMode property of the IMSInteractionSpec class to 0.
- Provide a value for the clientID property of the IMSConnectionSpec class that is used to obtain the connection. If your application uses generated code, you can set this value by exposing the clientID property as data. If your application uses the Common Client Interface (CCI) of the IMS™ TM resource adapter, set this value by using the setClientID method of the IMSConnectionSpec object that is passed in the getConnection method.