Archives
 
 
 
  Special
 
 
 
  About Us
 
 
 

Newsletter
Free E-mail Newsletter from BYTE.com

 
    
           
Visit the home page Browse the four-year online archive Download platform-neutral CPU/FPU benchmarks Find information for advertisers, authors, vendors, subscribers

ArticlesJDBC Driver Quartet


May 1998 / Reseller / JDBC's Growing Pains / JDBC Driver Quartet

Here's how JavaSoft defines the four types of JDBC drivers.

Type 1: JDBC/ODBC bridge

Purpose: Provides JDBC access via most ODBC drivers. Note that some ODBC binary code, and in many cases database client code, must be loaded on each client machine that uses this driver.

Best for: Corporate networks or application server code, written in Java, in a three-tier architecture.

Type 2: Native API, partly Java driver

Purpose: Converts JDBC calls into calls on the client API for Oracle, Sybase, Informix, DB2, or other DBMS. Note that, like the bridge driver, this style of driver requires some binary code on each client machine.

Best for: Taking advantage of characteristics that are unique to a specific RDBMS.

Type 3:Net protocol, all-Java driver

Purpose: Translates JDBC calls into a DBMS-independent network protocol that is then translated into a DBMS protocol by a server. The specific protocol that's used depends on the vendor.

Best for: Connecting all-Java clients to many different databases.

Type 4:Native protocol, all-Java driver

Purpose: Converts JDBC calls into the network protocol used directly by DBMSes.

Note that since many of these protocols are proprietary, DBMS vendors will be the primary source for this style of dri ver.

Best for: Direct calls from the client machine to the DBMS server; especially practical for intranet access.


Up to the Reseller section contentsGo to previous article: JDBC's Growing PainsGo to next article: What Do Java Developers Want?
Flexible C++
Matthew Wilson
My approach to software engineering is far more pragmatic than it is theoretical--and no language better exemplifies this than C++.

more...

BYTE Digest

BYTE Digest editors every month analyze and evaluate the best articles from Information Week, EE Times, Dr. Dobb's Journal, Network Computing, Sys Admin, and dozens of other CMP publications—bringing you critical news and information about wireless communication, computer security, software development, embedded systems, and more!

Find out more

BYTE.com Store

BYTE CD-ROM
NOW, on one CD-ROM, you can instantly access more than 8 years of BYTE.
 
The Best of BYTE Volume 1: Programming Languages
The Best of BYTE
Volume 1: Programming Languages
In this issue of Best of BYTE, we bring together some of the leading programming language designers and implementors...

Copyright © 2005 CMP Media LLC, Privacy Policy, Your California Privacy rights, Terms of Service
Site comments: webmaster@byte.com
SDMG Web Sites: BYTE.com, C/C++ Users Journal, Dr. Dobb's Journal, MSDN Magazine, New Architect, SD Expo, SD Magazine, Sys Admin, The Perl Journal, UnixReview.com, Windows Developer Network