Traversing the recordset may take longer, since the data comes through the backend server. The middle-tier application server converts JDBC calls directly or indirectly into a vendor-specific database protocol. This driver is used internally within the Oracle database, and it offers the same functionality as the JDBC Thin client-side driver, but runs inside an Oracle database and is used to access remote databases. It is a Type 4 driver. Type 2 driver uses the native code part instead of ODBC parts. This driver is essentially not used anymore.

Uploader: Mikashakar
Date Added: 12 August 2015
File Size: 6.88 Mb
Operating Systems: Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X
Downloads: 59434
Price: Free* [*Free Regsitration Required]

Views Read Edit View history. All the processes of application are managed by JVM. JDBC technology drivers fit into one of four categories. The driver accesses the SQL engine by using internal function calls and thus avoiding any network traffic.

The Network protocol driver uses the three-tier model. May be the only way to gain access to some low-end desktop databases. This style of driver converts JDBC calls into a network protocol that sends the converted packets–in a proprietary format–to be used directly by DBMSs, thus allowing a direct call from the client machine to the DBMS server and providing a practical solution for intranet access.

Understanding JDBC Drivers

The various driver types are described in the following sections:. Second section is the middle ware or so called the application server which passes the request to database. Some times really ODBC driver is the only way to access some databases. The driver is implemented in the sun. User is limited by the functionality of the underlying ODBC driver. The middle tier is responsible to converts JDBC calls directly or indirectly into vender specific database protocol.


About Sun Adapter for Informix Next: For performance reasons, the back-end server component is optimized for the operating system on which the database is running. It is installed inside the Java Virtual Machine of the client.

JDBC Driver

Easy to install and use. There are four major components in JDBC.

Advantages It is platform independent means pure Java driver. This driver is server-based, so there is no need for any limitationz database library to be present on client machines. When using JDBC, Java programmers have the ability to request connections to a database, send queries to the database using SQL statements, and receive results for advanced processing.

Architecture of Type 3 Driver Type 4: The JDBC type 3 driver, also known as the network-protocol driver is a database driver implementation which makes use of a middle-tier btidge the calling program and the database. This driver is essentially not used anymore. This driver uses Java to connect directly to Oracle.


The bridge is usually used when there is no pure-Java driver available for a particular database. This driver provides the highest performance driver for the database.

About Java Database Connectivity (JDBC) (About Database Adapters)

Jdbc-ldbc drivers come in four varieties. But because this kind of driver is very specific to particular database vendor it can be available only by the RDBMS or DBMS vendor as they have more depth about the protocol.

This driver was designed to enable Java applets to access DB2 data sources. More information about this driver is available from the Web site.

Since the Bridge driver is not written fully in Java, Type 1 drivers are not portable. Also, use of this driver leads to other installation jcbc-odbc for example, ODBC must be installed on the computer having the driver and the database must support an ODBC driver. No need to install special software on client or server. All JDBC drivers are divided in to four types as defined below: