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

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