Sam....
Sam....

Reputation: 161

Connection pooling in Swing based Application

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

Answers (2)

Met
Met

Reputation: 3162

Yes you can use C3P0

There are many connection pooling libraries in fact.

Upvotes: 2

anvarik
anvarik

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

Related Questions