+

Search Tips   |   Advanced Search

Data sources

Applications data sources to obtain connections to relational databases. A data source is analogous to the Java EE Connector Architecture (JCA) connection factory, which provides connectivity to enterprise information systems (EIS).

A data source is associated with a JDBC provider, which supplies the driver implementation classes required for JDBC connectivity with the vendor database. Application components transact directly with the data source to obtain connection instances to the database. The connection pool that corresponds to each data source provides connection management.

Create multiple data sources with different settings, and associate them with the same JDBC provider. For example, we might use multiple data sources to access different databases within the same vendor database application. WAS requires JDBC providers to implement one or both of the following data source interfaces. These interfaces enable the application to run in a single-phase or two-phase transaction protocol.