Applications access relational databases through two primary objects, the JDBC provider and the data source. You can configure these objects at the application, server, cluster, node, or cell scope.
Before you begin
Determine which version of data source you need. If you are using the Enterprise JavaBean (EJB) 1.0 specification or the Java Servlet 2.2 specification, you need the Version 4.0 data source. If you are using more advanced releases of these specifications, you need the current version data source (which is designated in WebSphere Application Server simply as "Data source," with no associated version number).Steps for this task
From the administrative console, see Creating a JDBC provider using the administrative console.
OR
Using the wsadmin scripting client, see Configuring a JDBC provider using scripting.
OR
Using the Java Management Extensions (JMX) API, see Creating a JDBC provider and data source using the Java Management Extensions API.
From the administrative console, see Creating a data source using the administrative console.
OR
Using the wsadmin scripting client, see Configuring new data sources using scripting. (For V4 data sources, see Configuring new WAS40 data sources using scripting.)
OR
Using the JMX API, see Creating a JDBC provider and data source using the Java Management Extensions API.
Related concepts
JDBC providers
Data sources
Looking up data sources with resource references for relational access
Binding to a data source
Related tasks
Configuring a JDBC provider using scripting
Configuring new data sources using scripting
Configuring new WAS40 data sources using scripting
Related reference
Data source collection
Data sources (Version 4)
JDBC Provider collection