skip to main content
Using Connection Pooling : Using a DataDirect Connection Pool
 

Try DataDirect Cloud Now

Using a DataDirect Connection Pool

To use DataDirect Connection Pooling, perform these steps:
1. Create and register a DataDirect Cloud Driver for JDBC DataSource object with JNDI, as described in Creating a Driver DataSource Object .
2. Create and register with JNDI a PooledConnectionDataSource object, as described in Creating the DataDirect Connection Pool. A PooledConnectionDataSource creates and manages one or multiple connection pools. The PooledConnectionDataSource uses the driver DataSource object created in Step 1 to create the connections for the connection pool.
* Creating a Driver DataSource Object
* Creating the DataDirect Connection Pool