Hi friends, In JDBC 4 drivers are there among this which
driver is best and why it is best.Which driver is most
commonly used in web applications.
Answers were Sorted based on User's Feedback
Answer / rajesh
Type 4 Driver will be the best driver.Because the java
application will directly interacts with database without
middlewares. We want a jar file to connect directly(i.e
mysql connector jar file for mysql,ojdbc.jar to pracle
database).
Is This Answer Correct ? | 9 Yes | 0 No |
ok , friend see ,there are three drivers and one protocol
which is type-3 ,ok.
My recommendation is to use type-4 dirver , why , because
it has seveal advantages than the predecessor drivers.
Advantages
----------
->It is directly interacting with database software.
->It does not need much conversions to be included.
->It is compatible with internet program and applet programs
like this many advantages are there list will go on.
ok, now , if you are developing 2-tier project than use
type-4 dirver , if it is web application than use type-3
with type-4 ok
for more information call 9989683928 , i belong to hyd
Is This Answer Correct ? | 9 Yes | 0 No |
Answer / vicky
Because Type IV driver classes are written purely in
java.and it interacts directly with the database we dont
need to specify any ODBC to interact with the database.
Is This Answer Correct ? | 5 Yes | 0 No |
Answer / vinayak_ankam
alljava because it's have capability work with any data
base and cliet did not requeried to install any software.
Is This Answer Correct ? | 3 Yes | 1 No |
Answer / srinu
Among jdbc driver TYPE-III driver(or) Net protocol driver is
best. because their is no worry about connection object and
connection pooling,middleware services.THe jdbc connection
are over all taken by application server.A programer just
use the connection object.
In webapplication TYPE-III driver are mostly used.To work
with TYPE-III driver are in application server
Is This Answer Correct ? | 2 Yes | 2 No |
What is the use of getGeneratedKeys() method in Statement?
How can I instantiate and load a new CachedRowSet object from a non-JDBC source?
What is difference between odbc and jdbc?
If iam using JDBC API, do I also have to use ODBC?
Does jpa use jdbc?
What are pros and cons of using of Type-2 and Type-4 Drivers over Type-1 driver?
What is jdbc odbc driver?
What is the return type of class.forname() method?
How many types of jdbc drivers are there?
Does jdbc use ssl?
I have written a program to connect to database using odbc.Can this Application run on any Platform????
What is jdbc template?