| Author |
Difference between DataSource & DriverManager
|
manish ahuja
Ranch Hand
Joined: Oct 23, 2003
Posts: 312
|
|
Hi All Can someone ellaborate on the differences between the 2 data resource approaches (DataSource & Drivermanager). What are the advantages Of DataSource over DriverManager. Bye Manish
|
 |
Jeanne Boyarsky
internet detective
Marshal
Joined: May 26, 2003
Posts: 26496
|
|
Manish, A DataSource is managed by the application server. It handles connection pooling and the like. A DriverManager lets you get a connection in a standalone application. You are responsible for handling everything in the code yourself.
|
[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
|
 |
 |
|
|
subject: Difference between DataSource & DriverManager
|
|
|