Reputation: 161
I have one application in Java Swing. In which i have used one connection for the application on single database. But now multiple users are usig that application , so everytime new connection is getting created. DB is coming very slow in performance; Can I use connection pooling in Swing based desktop based application. DB used is SQL server 2000.
Any help appriciated. Thanx in advance.
Upvotes: 1
Views: 2271
Reputation: 3162
Yes you can use C3P0
There are many connection pooling libraries in fact.
Upvotes: 2
Reputation: 6487
http://commons.apache.org/pool/ might be also helpful. I actually had the same question for CouchDB here: Connection pool for couchdb
Upvotes: 1