Previous Topic

Next Topic

Implementation in c-treeACE SQL JDBC Driver

To support working with IBM's Websphere 4.0 Application server, the following interfaces from the package javax.sql have been implemented.

  • javax.sql.DataSource

This is a factory for connections to the physical data source that this DataSource object represents. An object that implements the DataSource interface will typically be registered with a naming service based on the Java Naming and Directory (JNDI) API.

  • javax.sql.PooledConnection interfaces

An object that provides hooks for connection pool management. A PooledConnection object represents a physical connection to a data source. The connection can be recycled rather than being closed when an application is finished with it, thus reducing the number of connections that need to be made.

  • javax.sql.ConnectionPoolDataSource

This is a factory for PooledConnection objects. An object that implements this interface will typically be registered with a naming service that is based on the Java Naming and Directory Interface (JNDI).

A new directory, /jdbcx, has been introduced. This directory has the following source files:

  • DharmaDataSource.java
  • DharmaConnectionPoolDataSource.java
  • DharmaPooledConnection.java
  • DharmaObjectFactory.java