Sun Java System Application Server Enterprise Edition 8.1 2005Q2 Upgrade and Migration Guide

- Previous: Adding a Connection Pool
- Next: Adding a Persistence Manager

### Adding a JDBC Resource

A JDBC resource (data source) provides applications with a means of connecting to a database. Before creating a JDBC resource, you must first create a JDBC connection pool.

Use the `asadmin create-jdbc-resource` command to add resource.

`asadmin create-jdbc-resource --user` admin_user `--password` admin_password `--host localhost --port` portno `--connectionpoolid TMB jdbc/IBank`

- Previous: Adding a Connection Pool
- Next: Adding a Persistence Manager

- © 2010, Oracle Corporation and/or its affiliates