What Is JDBC?

The Java Database Connectivity (JDBC) API is one of the most important APIs for enterprise-level development because you almost always need to access a database. JDBC gives you a standard API that is mostly database-independent, but still allows you to access speci fic features of your database if necessary.

There are actually two parts to the JDBC API. The core JDBC API (java.sql.*) comes with the standard Java Development Kit. J2EE includes the JDBC Optional Package (javax.sql.*) that includes some features more commonly used for J2EE development (especially in the area of Enterprise JavaBeans).

Most databases have very different APIs for communicating with the database. On the Windows platform and even some Unix platforms, the ...

Get Special Edition Using Java™ 2 Enterprise Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.