Using a Custom Connection Pool Manager

In Business Components for Java, the default connection pool manager is an oracle.jbo.server.ConnectionPoolManagerImpl object, which implements the oracle.jbo.ConnectionPoolManager interface.

You might want to implement a custom connection pool manager if you have an existing connection pool manager you want to use or need special functionality not provided by the default connection pool manager.

To create and use a custom connection pool manager:

  1. Implement the oracle.jbo.ConnectionPoolManager interface in your custom connection pool manager.

    See the Javadoc for more information on this interface and where to find the default connection pool manager.

  2. Specify the custom connection pool manager (a fully qualified class name) by using the jbo.ConnectionPoolManager Java VM parameter or jboservers.properties property.

-Djbo.ConnectionPoolManager=oracle.jbo.server.ConnectionPoolManagerImpl

This directive specifies the default connection pool manager.

jbo.ConnectionPoolManager=oracle.jbo.server.ConnectionPoolManagerImpl


Related topics
Pooling Connections
Enabling and Disabling Connection Pooling
Setting the Maximum Number of Pool Connections
Setting the Initial Number of Pool Connections

About Connection Pooling