At a glance, how does the Java Database Connectivity (JDBC) work?
Location: http://www.jguru.com/faq/view.jsp?EID=1180 Created: Nov 21, 1999 Modified: 2000-06-02 06:34:20.199 Author: Lennart Jorelid (http://www.jguru.com/guru/viewbio.jsp?EID=15) A: The JDBC is used whenever a Java application should communicate with a relational database for which a JDBC driver exists. JDBC is part of the Java platform standard; all visible classes used in the Java/database communication are placed in package java.sql. JDBC as a mediator between the Java Application and the database Main JDBC classes: • DriverManager. Manages a list of database drivers. Matches connection requests from the java application with the proper database driver using communication subprotocol. The first driver that recognizes a certain subprotocol under jdbc (such as odbc or dbAnywhere/dbaw) will be used to establish a database Connection. • Driver. The database communications link, handling all communication with the database. Normally, once the driver is loaded, the developer need not cal