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:
- JDBC type 1 driver, also called JDBC-ODBC bridge is a database driver implementation that uses ODBC driver to connect to a database.
- JDBC type 2 driver, also called the Native API driver, is a database driver implementation that uses client-side libraries of databases.
- 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.
- 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.