Create Data Source Dialog Box

See Also

This dialog box enables you to create a data source (JDBC resource) which provides applications with a means of connecting to a database. To connect to a database, the JNDI name of the data source is used to locate the associated database. Typically, the administrator creates a data source for each database accessed by the applications deployed in a domain. (However, more than one data source can be created for a database.)

To create a data source to use in your application, you need to supply the following:

When you create a new data source for your application, the data source description is added to sun-resources.xml under the Server Resources node of your project in the Projects window. If you are deploying to the GlassFish server, the data source is registered with the server upon deployment.

See Also
Connecting to a Database

Legal Notices