This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes JDBC and the fly likes Connection Pool setup Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Databases » JDBC
Reply Bookmark "Connection Pool setup" Watch "Connection Pool setup" New topic
Author

Connection Pool setup

Vineet Yekurde
Greenhorn

Joined: Jul 15, 2012
Posts: 6
Hi All,
I am newbie to employ Connection Pool in JDBC.
Googled a lot about it but got nothing other than some buzzwords like Datasource, ConnectionPoolDataSource. Reading number of webblogs on this confused me.
Can anybody here give a step by step guide to help make use of connectionPool in java ?

Appreaciating quick replies ..
Thanks in advance.

Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 26173
    
  66

The first thing to decide is which connection pool. Are you using a server that provides one? If not ware you using dbcp (an open source connection pool) or something else?


[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
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Connection Pool setup
 
Similar Threads
Connection pool for XADataSource
Creating connection pool for MySql-Tomcat combination -- Code given
enterprise application with many users
best way to handle database connection
Create J2C Connection Factory - Also set custom properties, connection pool properties