### JDBC Resources

A JDBC resource (data source) provides applications with a means of connecting to a database. Typically, the administrator creates a JDBC resource for each database accessed by the applications deployed in a domain. (However, more than one JDBC resource can be created for a database.)

To create a JDBC resource, specify a unique JNDI name that identifies the resource. Expect to find the JNDI name of a JDBC resource in `java:comp/env/jdbc` sub-context. For example, the JNDI name for the resource of a payroll database could be `java:comp/env/jdbc/payrolldb`. Because all resource JNDI names are in the `java:comp/env` sub-context, when specifying the JNDI name of a JDBC resource in the Admin Console, enter only `jdbc/`name. For example, for a payroll database specify `jdbc/payrolldb`.

See Also:

- JNDI Names and Resources

- JDBC Connection Pools

- How JDBC Resources and Connection Pools Work Together

- To create a JDBC resource

- To edit a JDBC resource

- To delete a JDBC resource