A data access application uses a data source to access data from a database.
This article assumes that you have created an enterprise application that has an EJB module and that you want this application to access one or more resources.
To access a resource, you associate a data source with a JDBC provider that supplies the specific JDBC driver implementation class. The data source represents the J2EE Connector Architecture (JCA) connection factory for the relational resource adapter.
You can create multiple data sources associated with the same JDBC provider. Each JDBC provider supports the ConnectionPoolDataSource or XADataSource interfaces.
These interfaces enable the application to run in a single-phase or two-phase
transaction protocol.
This article describes how to configure resource references for an application so the application can access resources using an assembly tool such as the Application Server Toolkit (AST) or Rational Web Developer.
ResultFiles for the updated application are shown in the Project Explorer view.
Related concepts
Data sources
Related reference
Data access : Resources for learning