This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
An import statement merely makes a class available to the compilation unit at compile time. The Class.forName() causes the class loader to physically find the class and load it into the JVM at run-time (where the driver manager will find and hook up to it). [ April 13, 2004: Message edited by: Bear Bibeault ]