Type 4 driver .E2.80.93 Database-Protocol driver .28Pure Java driver.29 JDBC driver
schematic of native-protocol driver
the jdbc type 4 driver, known direct database pure java driver, database driver implementation converts jdbc calls directly vendor-specific database protocol.
written in java, type 4 drivers platform independent. install inside java virtual machine of client. provides better performance type 1 , type 2 drivers not have overhead of conversion of calls odbc or database api calls. unlike type 3 drivers, not need associated software work.
as database protocol vendor specific, jdbc client requires separate drivers, vendor supplied, connect different types of databases. type includes, example, used oracle thin driver.
advantages
completely implemented in java achieve platform independence.
these drivers don t translate requests intermediary format (such odbc).
the client application connects directly database server. no translation or middleware layers used, improving performance.
the jvm can manage aspects of application-to-database connection; can facilitate debugging.
disadvantages
drivers database specific, different database vendors use different (and proprietary) network protocols.
Comments
Post a Comment