This chapter describes how to use the Java Database Connectivity (JDBC) API for database access with the Oracle GlassFish Server. This chapter also provides high level JDBC implementation instructions for servlets and EJB components using the GlassFish Server. If the JDK version 1.6 is used, the GlassFish Server supports the JDBC 4.0 API.
The JDBC specifications are available at http://www.oracle.com/technetwork/java/javase/jdbc/index.html.
A useful JDBC tutorial is located at http://download.oracle.com/javase/tutorial/jdbc/index.html.
Note - The GlassFish Server does not support connection pooling or transactions for an application’s database access if it does not use standard Java EE DataSource objects.
The following topics are addressed here: