The Java Database Connectivity (JDBC) API provides a set of common, vendor-neutral classes and interfaces to enable database access to different databases from Java applications. The JDBC API specification defines a standard set of interfaces that vendors of JDBC drivers need to implement to conform to the JDBC API. Application component providers can use the JDBC driver in their application components to access data from databases. The JDBC drivers fall in one of the following four categories:
The JDBC API was one of the first APIs introduced in Java and was part of the Java 2 Standard Edition before its role in enterprise development was recognized and the JDBC API was included as a part of the J2EE specification. Database vendors often provide implementations of JDBC drivers for their databases that comply with the JDBC API specification. This enables application component providers that use the JDBC API in their application components to access any database as long as a JDBC driver is available for the database. |