A data source is a pool of JDBC connections from which a connection can be obtained using the getConnection()
method of a DataSource
object. In this section, we will create a data source in the WebLogic Server Administration Console. Access the Administration Console with the URL http://localhost:7001/console, and in the Administration Console, select the node Services | JDBC | DataSources.
Click on Lock & Edit to activate the Data Sources page buttons. To create a new JDBC data source, click on New in the Data Sources table.
In the Create a New JDBC Data Source window, specify a data source name, and a JNDI Name for the data source. A data source is bound on a JNDI naming service with a JNDI name. Select a Database Type, and create a data source with the Oracle database. Select Oracle as the Database Type, and select Oracle's Driver (Thin) as the Database Driver, and click on next.
A data source may be configured with any of the commonly used databases. WebLogic...