Loading...
Select Version
For each connection factory in the file weblogic-ra.xml
, you can specify how connection pooling is carried out.
Connection pooling is activated in order to increase the performance. Connections which are used frequently and by many clients should be defined with large values for max-capacity
. For rarely used connections you need not define connection pooling at all. For more information on connection pooling, refer to the application server documentation.
A connection factory definition with sample settings is shown in Example 5:
Example 5 Connection pooling
<connection-instance> <jndi-name>eis/my_EIS</jndi-name> <connection-properties> <pool-params> <initial-capacity>2</initial-capacity> <max-capacity>10</max-capacity> </pool-params> ... </connection-properties> </connection-instance>
Refer to the schema description for the file weblogic-ra.xml
for further pool parameters.