O'Reilly logo

Special Edition Using Java™ 2 Enterprise Edition by Mark Wutka

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

JDBC Core Components

Figure 3.5 illustrates the major classes of the JDBC API and how they relate to each other.

Figure 3.5. The major components of the JDBC API are shown here.

Of the major JDBC components, only DriverManager is a concrete Java class. The rest of the components are Java interfaces that are implemented by the various driver packages.

DriverManager

The DriverManager class keeps track of the available JDBC drivers and creates database connections for you. Although the JDBC driver itself creates the database connection, you usually go through the DriverManager to get the connection. That way you never need to deal with the actual ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required