Java Reference
In-Depth Information
Application Space
Java Application
Type 2 JDBC Driver
SQL Command
Result Set
Native Database Library
Proprietary Protocol
The Type 2 Native-API JDBC driver.
Type 4: Native-Protocol, Pure Java Driver
The Type 4 drivers are pure Java drivers that communicate directly with the vendor's database.
They do this by converting JDBC commands directly into the database engine's native proto-
col. The Type 4 driver has a very distinct advantage over all the other driver types: It has no
additional translation or middleware layer, which improves performance tremendously. Figure
7.6 diagrams the communications of a Type 4 driver.
Search WWH ::

Custom Search