#### To create a JDBC resource

A JDBC resource (data source) provides applications with a means of connecting to a database.

###### Before You Begin

Before creating a JDBC resource, first create a JDBC connection pool. See To create a JDBC connection pool.

1. Expand the Resources, then JDBC node.
2. Select the JDBC Resources node.
3. Click New from the JDBC Resources page.
4. Specify the Resource settings as follows:

   - JNDI Name: Specify a unique name. The JNDI name organizes and locates components within a distributed computing environment similarly to the way that card catalogs organize and represent locations of books in a library. Consequently, the JNDI name becomes an important method of accessing the JDBC resource. By convention, the name begins with the `jdbc/` string. For example: `jdbc/payrolldb`. Don’t forget the forward slash.

   - Pool Name: Choose the connection pool to be associated with the new JDBC resource.

   - Description: Type a short description of the resource.

   - Status: If you want the resource to be unavailable, deselect the Enabled checkbox. By default, the resource is available (enabled) as soon as it is created.

5. Click OK.

######

###### More Information

Equivalent asadmin command

`create-jdbc-resource`

###### See Also

- JNDI

- Setting Up Database Access

- To create a JDBC connection pool

- To edit a JDBC resource

- To delete a JDBC resource