JDBC drivers allow Java applications to connect to and access databases. There are four main categories of JDBC drivers: 1) JDBC-ODBC bridge drivers which use a bridge technology to connect Java to ODBC databases, 2) Native-API party-java drivers which wrap native database APIs in Java, 3) Net-protocol all-Java drivers which communicate via a generic network protocol to middleware for database access, and 4) Direct native drivers which are written in Java and connect directly to a database.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
43 views2 pages
Type 01-JDBC-ODBC Bridge Driver
JDBC drivers allow Java applications to connect to and access databases. There are four main categories of JDBC drivers: 1) JDBC-ODBC bridge drivers which use a bridge technology to connect Java to ODBC databases, 2) Native-API party-java drivers which wrap native database APIs in Java, 3) Net-protocol all-Java drivers which communicate via a generic network protocol to middleware for database access, and 4) Direct native drivers which are written in Java and connect directly to a database.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 2
An individual database system is accessed via a specific JDBC driver that
implements the java.sql.Driver interface. Drivers exist for nearly all-popular
RDB! systems" throu#h fe$ are available for free. !un bundles a free JDBC-%DBC brid#e driver $ith the JD& to allo$ access to a standard %DBC"data sources" such as a icrosoft Access database" !un advises a#ainst usin# the brid#e driver for anythin# other than development and very limited development. JDBC drivers are available for most database platforms" from a number of vendors and in a number of different flavours. 'here are four driver cate#ories Type 01-JDBC-ODBC Bridge Driver 'ype () drivers use a brid#e technolo#y to connect a java client to an %DBC database service. !un*s JDBC-%DBC brid#e is the most common type () driver. 'hese drivers implemented usin# native code. Type 02-Native-API party-java Driver 'ype (+ drivers $rap a thin layer of java around database-specific native code libraries for %racle databases" the native code libraries mi#ht be based on the %C,-%racle call ,nterface. libraries" $hich $ere ori#inally desi#ned for c/c++ pro#rammers" Because type-(+ drivers are implemented usin# native code. in some cases they have better performance than their all-java counter parts. 'hey add an element of ris/" ho$ever" because a defect in a driver*s native code section can crash the entire server Type 03-Net-Protocol All-Java Driver 'ype (0 drivers communicate via a #eneric net$or/ protocol to a piece of custom middle$are. 'he middle$are component mi#ht use any type of driver to provide the actual database access. 'hese drivers are all java" $hich ma/es them useful for applet deployment and safe for servlet deployment