magazine resources subscribe about advertising

New Architect Daily
Commentary and updates on current events and technologies

CMP Media E-Book

Download your copy today.

Research
Search for reports and white papers from industry vendors and analysts.

This Week at NewArchitect.com Subscribe now to our free email newsletter and get notified when the site is updated with new articles







Day of Defeat Online Gaming

 New Architect > Archives > 1996 > 10 > Features  

Database Programming with JDBC

Interacting Directly with Your Database

By Erin Carroll and Andrew Wilson

The Java language, touted for being highly portable, was lacking a major component until recently. Database connectivity in today's Information Age must certainly be considered a major component of any programming model. To meet this requirement, JavaSoft has recently introduced the JDBC API (Application Programming Interface) for database access as flexible and portable as Java code.

The JDBC API was developed to have a standard, ODBC-like (Open Database Connectivity) interface that will allow Java-application developers access to databases residing on different servers—with different database management systems—in much the same way as ODBC. The plan was to use drivers that interpret standard JDBC syntax into native Database Management System (DBMS) syntax. From a development point of view, the underlying platform and DBMS are not very relevant, as Java is portable and uses drivers that deal with the underlying DBMS. This removes concerns about DBMS specifics from the application developer's task list.

The drivers that translate from JDBC to native DBMS must be ANSI SQL-2 entry-level compliant. JDBC also supports pass-through, where the Structured Query Language (SQL) syntax is passed directly to the database engine without translation at the driver level. As far as JDBC is concerned, this basically means anything goes; the underlying DBMS will handle the syntax.This is important, because even with a standard API, each DBMS may provide extensions that will allow for optimization of the particular engine.




  Day of Defeat Online Gaming

home | daily | current issue | archives | features | critical decisions | case studies | expert opinion | reviews | access | industry events | newsletter | research | careers | info centers | advertising | subscribe | subscriber service | editorial calendar | press | contacts


Copyright © 2006 CMP Media, LLC Read our privacy policy, your California privacy rights, terms of service.
SDMG Web sites: BYTE.com, C/C++ Users Journal, Developer Pipeline, Dr. Dobb's Journal, DotNetJunkies, MSDN Magazine, Sys Admin,
SD Expo, SD Magazine, SqlJunkies, The Perl Journal, Unixreview, Windows Developer Network, New Architect

web2