Reference | Help | Introduction | Slide Show | Class Hierarchy | InterClient | ||
PREV | NEXT | FRAMES | NO FRAMES |
There are 4 classes of jdbc drivers, class 1 and 2 are similar to your traditional driver architecture.
A class 1 driver is a bridge from the JDBC API to the ODBC API.
Both jdbc and odbc are based on cli, so this mapping is a natural, and allows Java applications to access a database with existing odbc support.
JavaSoft provides this jdbc-odbc bridge as part of the jdk. There is only one jdbc-odbc bridge, but there is a separate odbc driver for each database.
DBMS client library provides client/server
Jdbc is a java api, and the bridge is written in java;
odbc is a c api, and an odbc driver is written in C.
So the jdbc-odbc bridge is what i call a language driver; the semantic difference
between odbc and jdbc is minimal, the main difference is the language barrier.
So this same kind of architecture could be used by
other language drivers, eg. a perl to odbc bridge.
Reference | Help | Introduction | Slide Show | Class Hierarchy | InterClient | ||
PREV | NEXT | FRAMES | NO FRAMES |