Which JDBC type driver is best for enterprise application?

Please any one give me idea about the JDBC driver when application developed using JSP will be efficient.
[112 byte] By [mdrabia] at [2007-10-3 4:53:08]
# 1
first, try not to put db code in jsp's, it's a no-nosecond, you want a type-4 driverthird, you could have google'd this or searched the forumthis question has been asked 2,568 times
SoulTech2012a at 2007-7-14 22:57:58 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...
# 2

Type 4 drivers are more efficient.

Type 4 drivers are entirely written in Java that communicate directly with vendor's database through socket connection. Here no translation or middleware layer, are required which improves performance.

The driver converts JDBC calls into the vendor-specific database protocol so that client applications can communicate directly with the database server.

Advantages:

These drivers don't translate the requests into db request to ODBC or pass it to client api for the db, nor do they need a middleware layer for request indirection. Thus the performance is considerably improved.

Disadvantage:

At client side, a separate driver is needed for each database.

Retrieved from "http://en.wikipedia.org/wiki/JDBC_driver"

dvohra09a at 2007-7-14 22:57:58 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...