In the Coded Name field of the wizard's Resource References dialog box, you enter the database name from the bean's code. In the Type column, select javax.sql.DataSource. Map the coded name to the JNDI name. The jdbc.datasources entry maps the JNDI name to the URL of the database. To connect to the Cloudscape database bundled with this release, you do not specify a database user and password.
Authentication is performed by a separate service.
However, some types of databases do require a user and password during connection. For these databases, if the getConnection call has no parameters, you must specify the database user and password with the Application Deployment Tool. If you wish to obtain the database user and password programmatically, you do not need to specify them with the Application Deployment Tool. Inc. All rights reserved.