Runtime tools : Service components : Generic Pool : Tasks : Defining a Generic Pool
  
Defining a Generic Pool
The service definition file (dsesrvce.xml) defines Generic Pools. Each 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.btt.AnyPoolableClassName"
initialSize="20" maxPoolSize="30" timeBetweenRetries="2000"/>
For information on the tags and attributes, see the external definitions.
Go up to
Tasks