JDBC Drivers

JDBC drivers provide the necessary communication layer to allow your Java applications to communicate with the database. The drivers use an underlying transport layer such as TCP/IP to communicate with the database. As you will see, how your applications talk to the driver and how the driver talks with the database is dependent on several factors, including the database vendor and the type of driver that you select.

JDBC drivers come in four distinct types. Each type is better suited for a particular type of application of network architecture.

Note

There have been many debates about which driver gives better performance and there are some very clear guidelines about choosing a particular type. However, there still are a few subjective ...

Get Special Edition Using Java 2 Standard 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.