Open In App

JDBC – Type 3 Driver

A JDBC driver enables Java application to interact with a database from where we can fetch or store data. JDBC drivers are analogous to ODBC drivers. The JDBC classes are contained in the Java Package java.sql and javax.sql.JDBC helps to

The Java.sql package that ships with JDK contain various classes with their behaviors defined and their actual implementations are done in third-party drivers. Third-party vendors implement the java.sql.Driver interface in their database driver.



JDBC driver types are used to categorize the technology used to connect to the database.



Type -3 Driver JDBC is also known as Network Protocol Driver as it uses an application server that converts JDBC calls directly or indirectly into the vendor-specific database protocol. This driver translates JDBC calls into the middleware vendor’s protocol, which is then converted to a database-specific protocol by the middleware server software that provides connectivity to many databases.

Middleware is software that lies between an operating system and the applications running on it. Essentially functioning as a hidden translation layer, middleware enables communication and data management for distributed applications. While all middleware performs communication functions, the type a company chooses to use will depend on what service is being used and what type of information needs to be communicated.

Advantages of Type-3 Driver

Disadvantages of Type-3 Driver

Article Tags :