Home Answers Viewqa JDBC explanation of JDBC drivers

 
 


Kalaiselvi.M
explanation of JDBC drivers
2 Answer(s)      5 years and 3 months ago
Posted in : JDBC

Need tutorial on JDBC drivers
Thanks!

View Answers

February 26, 2008 at 11:56 PM


Hello,

There are four types of JDBC drivers.

There are mainly four type of JDBC drivers available. They are:

Type 1 : JDBC-ODBC Bridge Driver
A JDBC-ODBC bridge provides JDBC API access via one or more ODBC drivers. Note that some ODBC native code and in many cases native database client code must be loaded on each client machine that uses this type of driver. Hence, this kind of driver is generally most appropriate when automatic installation and downloading of a Java technology application is not important. For information on the JDBC-ODBC bridge driver provided by Sun.

Type 2: Native API Partly Java Driver
A native-API partly Java technology-enabled driver converts JDBC calls into calls on the client API for Oracle, Sybase, Informix, DB2, or other DBMS. Note that, like the bridge driver, this style of driver requires that some binary code be loaded on each client machine.

Type 3: Network protocol Driver
A net-protocol fully Java technology-enabled driver translates JDBC API calls into a DBMS-independent net protocol which is then translated to a DBMS protocol by a server. This net server middleware is able to connect all of its Java technology-based clients to many different databases. The specific protocol used depends on the vendor. In general, this is the most flexible JDBC API alternative. It is likely that all vendors of this solution will provide products suitable for Intranet use. In order for these products to also support Internet access they must handle the additional requirements for security, access through firewalls, etc., that the Web imposes. Several vendors are adding JDBC technology-based drivers to their existing database middleware products.

Type 4: JDBC Net pure Java Driver
A native-protocol fully Java technology-enabled driver converts JDBC technology calls into the network protocol used by DBMSs directly. This allows a direct call from the client machine to the DBMS server and is a practical solution for Intranet access. Since many of these protocols are proprietary the database vendors themselves will be the primary source for this style of driver. Several database vendors have these in progress.

Since Type 4 driver directly talks with the database, the performance are very good. Due to very good performance type 4 driver is used.

Thanks

February 26, 2008 at 11:58 PM


Hi,

Here is another good explanation of JDBC drivers
http://www.roseindia.net/jdbc/jdbc-driver-and-its-types.shtml

Thanks









Related Pages:
Drivers
Drivers  How to insert Drivers in jdbc for java
jdbc drivers
jdbc drivers  what are the various kinds of jdbc drivers explain in detail
different JDBC drivers available
different JDBC drivers available  What are the different JDBC drivers available
type 4 drivers - JDBC
type 4 drivers  Hi! What is the syntax for Type - 4 drivers. give me any sample code. Thanks in advance..  Hi Friend, Please visit the following link: http://www.roseindia.net/jdbc/jdbc-driver-and-its
Database drivers - JDBC
.   Hi friend, There are four types of JDBC drivers known...-types.shtml Thanks.  Hi! we have four types of drivers. JDBC-ODBC... drivers: 1. Jdbc Odbc Driver: using this driver, the jdbc can be accessed via
Write to the log used by DriverManager and JDBC drivers.
Write to the log used by DriverManager and JDBC drivers.  How can I write to the log used by DriverManager and JDBC drivers
Types of JDBC drivers
JDBC Driver's Type JDBC Driver can be broadly categorized into 4 categories-- JDBC-ODBC BRIDGE DRIVER(TYPE 1)  Features 1.Convert the query of JDBC Driver into the ODBC query, which in return pass the data. 2.JDBC-ODBC
explanation
the explanation in internet,but not very clear about it. Thank you
The required JDBC drivers to establish connectivity to my database part of the JDK.
The required JDBC drivers to establish connectivity to my database part of the JDK.  Are all the required JDBC drivers to establish connectivity to my database part of the JDK
JDBC - JDBC
explanation of JDBC drivers  Need tutorial on JDBC driversThanks!  Hello,There are four types of JDBC drivers. There are mainly four type of JDBC drivers available. They are:Type 1 : JDBC-ODBC Bridge Driver A JDBC-ODBC
jdbc
jdbc  why do we need to load jdbc drivers before connecting to database
JDBC Training, Learn JDBC yourself
responsibility of  JDBC database driver is to load all the drivers found... JDBC Training       JDBC Training - Learn JDBC yourself: In this section we
A Brief Introduction to JDBC
to different database applications using different JDBC drivers. JDBC.... JDBC Driver Types There are 4 types of JDBC drivers available. Type 1: JDBC-ODBC Bridge driver (Bridge) – They are JDBC-ODBC bridge drivers
jdbc - JDBC
jdbc  What is the difference b/w jdbc driver and jdbc driver manager... Class.forName("foo.bah.Driver") The DriverManager will try to load as many drivers... and refer JDBC API. Thanks Rajanikant
jdbc - JDBC
drivers for concurrent access?   Question: Is the JDBC-ODBC Bridge multi-threaded? Answer: No. The JDBC-ODBC Bridge does not support concurrent access from different threads. The JDBC-ODBC Bridge uses synchronized methods
Java JDBC driver
Java JDBC driver  What are the different JDBC drivers available
JDBC Driver
JDBC Driver  I want to know the clear syntax and usages of $ types of JDBC drivers. Where can i get it? I search for it, nobody give Syntax for tat different drivers. can u give a sample codes for tat
List of JDBC Driver
List of JDBC Drivers JDBC driver is a software component, which enables.... The table given below shows the list of JDBC drivers... database we need its JDBC driver. Therefore we requires JDBC driver for database
Best JDBC Driver and Why - JDBC
Best JDBC Driver and Why   Hi Friends , In JDBC 4 drivers are there among this which is best and why. which driver is most commonly used in web application
Class.forName will do while loading drivers
Class.forName will do while loading drivers  What Class.forName will do while loading drivers
example explanation - Java Beginners
example explanation  can i have some explanation regarding the program given as serialization xample....  Hi friend, import java.io.*; import java.util.*; import java.util.Date; import java.io.Serializable
choosing best jdbc connection - JDBC
and It is the fastest JDBC driver. Type 1 and Type 3 drivers will be slower than Type 2 drivers...choosing best jdbc connection  among the four types of jdbc which one... is the best type of Jdbc JDBC Net pure Java Driver A native
JDBC CONNECTIVITY - JDBC
of JDBC drivers. Each driver has to be register with this class. getConnection...JDBC CONNECTIVITY  String jclass="sun.jdbc.odbc.JdbcOdbcDriver"; Class.forName(jclass); String dsn= "Jdbc:Odbc:Employee"; Connection con
connectivity - JDBC
connectivity  How can we connect sql server using Java   Hi Friend, By using JDBC drivers, you can connect SQL server with java. Please visit the following link: http://www.roseindia.net/jdbc/jdbc.shtml
The JDBC-ODBC Bridge.
The JDBC-ODBC Bridge.  Are there any ODBC drivers that do not work with the JDBC-ODBC Bridge
java - JDBC
java  drivermanager class loads the drivers to connect odbc..., The JDBC-ODBC Bridge uses synchronized methods to serialize all... is the traditional management layer of JDBC, working between the user
regarding jdbc - JDBC
provide me detail explanation   Hi friend, Please give the full source... = DriverManager.getConnection("jdbc:mysql://localhost:3306/yourdatabase", "your username", "your
java - JDBC
automatically loaded. The driver is loaded by calling the Class.forName() method. JDBC drivers are designed to tell the DriverManager about themselves automatically when... on JDBC visit to : http://www.roseindia.net/jdbc/understanding-driver
java - JDBC
java  where can i get sun.jdbc.jdbcodbcDriver to fix database connection in my system? could any body give the link to download drivers from the web
java jdbc
java jdbc  hi friends, I am not getting how to connect by using type 2 And type 3 drivers between java and oracle...... please any body help me...... thanking you, your's, praveen
explanation to your code - Java Beginners
explanation to your code  sir, I am very happy that you have responded to my doubts in no time.Thank you very much.I saw the code u sent.Can i... classes.sir i need your brief explanation on this code and also your guidance.this
jdbc interview question
drivers in JDBC. JDBC interview question  what are the adv and disadv dirver1,2,3,4? expain type 1,type 2,type 3,type 4 drivers in jdbc... requires software to run. Type 3 Drivers JDBC-Net pure Java driver
how to connect mySql drivers into eclipse(configuration)?
how to connect mySql drivers into eclipse(configuration)?  how to connect mySql drivers into eclipse(configuration)? I need the configuration in eclipse. what do i have to download from mySql and just downloading is enough or do
huffman code give the explanation for this code
huffman code give the explanation for this code  package bitcompress; class Compress extends BitFilter { private boolean encode_flag = false; private BitFilter next_filter = null; private int value; private
huffman code give the explanation for this code
huffman code give the explanation for this code  package bitcompress; class Compress extends BitFilter { private boolean encode_flag = false; private BitFilter next_filter = null; private int value; private
jdbc connections
jdbc connections  How can I coonect with oracle9i with java program using both thin driver and sun driver. plz send sample code for both the drivers... oracle.sql.*; 2) Load and Register the JDBC driver: DriverManager.registerDriver
Introduction to the JDBC
are JDBC Drivers? JDBC Drivers are set of classes... in their database driver. A list of currently available JDBC drivers... JDBC Drivers Types Sun has defined four JDBC
JDBC Examples, JDBC Example code
JDBC or Java Database Connectivity is the set of API for accessing the database from Java program. JDBC allows the developers to access almost all the major databases. Appropriate database drivers are available for all major databases
type 4 jdbc driver
type 4 jdbc driver   i read in this site that type 4 jdbc driver is the fastest one so used it to connect with the database.......but not tried another drivers,....can u specifically answer me why type 4 is the fastest one
JDBC features
API provides the methods to access the data base easily. JDBC drivers...JDBC features In this section we will see the features of JDBC. The Java Database Connectivity or JDBC for short is the API available in Java for accessing
JDBC Steps ? Basic steps in writing a JDBC Application
;exceptions   }   }   } } Explanation of JDBC... the JDBC drivers before attempting to connect to the database. The JDBC drivers... JDBC Steps – Basic steps in writing a JDBC Application
Universal dbViewer
server, sybase, firebird (jdbc drivers included) in Eclipse 3.0 on Windows... connection configurations provide a jdbc driver connect to a database server
jdbc odbc connection
computer and then access in your Java program. Read the JDBC ODBC example. Thanks   Here is another example with explanation: Example of JDBC ODBC...jdbc odbc connection  i need a program in java which uses a jdbc odbc
Getting Stated with JDBC
the brief introduction you will be able to understand the JDBC, JDBC Drivers and JDBC Drivers type. Step 4: Now we can develop a simple JDBC application...Getting Stated with JDBC In this Getting Started with JDBC tutorial, we
Confused in driver - JDBC
Confused in driver  I am confused about the concept Driver in JDBC. Although i know jdbc very well(in respect... mean to say theoretically...,There for different types of drivers. Please check it at http://www.roseindia.net

Ask Questions?

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.

Ask your questions, our development team will try to give answers to your questions.