To store, organize, and retrieve data, most applications use relational databases.
- Install a supported database product.
For a list of supported databases, see Sun GlassFish Enterprise Server v3 Release Notes.
- Install a driver supporting the JDBC API (JDBC driver) for the database.
Ensure that the driver you want to use to create database connections is
installed on all servers on which you want to deploy the data source.
- Ensure that the driver’s JAR file is accessible to the domain’s server instance.
See To Integrate a JDBC Driver.
- Create the database.
Usually, the application provider delivers scripts for creating and populating the database.
- Create a connection pool for the database.
See To Create a JDBC Connection Pool.
- Create a JDBC resource that points to the connection pool.
See To Create a JDBC Resource.