Defining a Generic Pool

The service definition file (dsesrvce.xml) defines Generic Pools. The Generic Pool definition also includes the definitions for its initial Poolable objects. To use the Generic Pool service for different objects (to pool different objects that implement Poolable) you need to define a Generic Pool for each object.

The following is an example of an XML tag that defines a GenericPool service in a service definition (dsesrvc.xml) file:

<GenericPoolService id="GenericPool" className="com.ibm.dse.cs.mq.MqChannelDriver" 
    initialSize="20" maxPoolSize="30" timeBetweenRetries="2000"/>

The Generic Pool in the client and the Generic Pool in the application logic layer use different external definition files. For information in the tags and attributes, see the Java(TM) client external definitions and Application logic layer external definitions.

Related reference
Application logic layer Generic Pool external definitions
Java client Generic Pool external definitions