Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

The difference between direct jdbc connections and datasources?

Status
Not open for further replies.

hyperbug

Programmer
Aug 10, 2001
25
0
0
ES
I would like to know what are the most important differences between direct jdbc connections and datasources from a transactional point of view.
 
The difference between direct jdbc connections and Datasource is
Datasources are used to get a connection from the connection pool maintained by Websphere Application Server where the creation of connection is not required.Take the connection from the pool,use it and close after completion.By using direct jdbc connections,since everytime u have to create the connection, which hinders ur application server performance.Hope this answer satisfies you.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top