This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JDBC and the fly likes class . forName() Vs DriverManager . registerDriver Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "class . forName() Vs DriverManager . registerDriver" Watch "class . forName() Vs DriverManager . registerDriver" New topic
Author

class . forName() Vs DriverManager . registerDriver

Sundaralingam Subramaniyan
Greenhorn

Joined: Sep 07, 2007
Posts: 11
hi

what is the difference between Class.forName() and DriverManager.registerDriver()?

how Class.forName() really works.....

i need response urgently....
kindly assist...
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41060
    
  43
i need response urgently....


Really? What for? Have you read through any of the previous discussions on this subject, e.g. these ones?


Ping & DNS - my free Android networking tools app
 
Consider Paul's rocket mass heater.
 
subject: class . forName() Vs DriverManager . registerDriver
 
Similar Threads
How to connect MySQL DB from JSP?
what this method do in JDBC?
Dynamically loading a class
An JDBC problem
JDBC connectivity