Java Database Connectivity Interface

What Does Java Database Connectivity Interface Mean?

Java database connectivity interface (JDBC) is a software component that allows Java applications to interact with databases. To enhance the connection, JDBC requires drivers for each database. These drivers connect to the database and implement the protocol to transfer query and respective results between the client and database.


Techopedia Explains Java Database Connectivity Interface

Java database connectivity (JDBC) defines interfaces and classes and, by making database connections, makes it possible to write database applications in Java. JDBC aids in executing SQL statements and supports basic SQL functionality. Because Java runs on thin clients, applets that are embedded in Web pages enclose downloadable JDBC codes that allow for remote database access. JDBC technology drivers are divided into four categories:

  1. JDBC type 1 driver, also called JDBC-ODBC bridge is a database driver implementation that uses ODBC driver to connect to a database.
  2. JDBC type 2 driver, also called the Native API driver, is a database driver implementation that uses client-side libraries of databases.
  3. JDBC type 3 drivers, also called the pure Java driver for database middleware, is a database driver implementation that makes use of the middle tier between the calling program and the database.
  4. JDBC type 4 driver, also called a direct-to-database pure Java driver, is a database driver implementation that convert JDBC calls into vendor-specific database protocol.

Related Terms

Margaret Rouse

Margaret is an award-winning technical writer and teacher known for her ability to explain complex technical subjects to a non-technical business audience. Over the past twenty years, her IT definitions have been published by Que in an encyclopedia of technology terms and cited in articles by the New York Times, Time Magazine, USA Today, ZDNet, PC Magazine, and Discovery Magazine. She joined Techopedia in 2011. Margaret's idea of a fun day is helping IT and business professionals learn to speak each other’s highly specialized languages.