The moose likes JDBC and Relational Databases and the fly likes Desktop App and Connection Pools Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Desktop App and Connection Pools" Watch "Desktop App and Connection Pools" New topic

Desktop App and Connection Pools

Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15302

Anyone ever use a Connection Pool for desktop applications? I typically just use one open connection throughout the lifetime of the application but wondered if I should be doing things differently.

GenRocket - Experts at Building Test Data
Julian Kennedy
Ranch Hand

Joined: Aug 02, 2004
Posts: 823

If the app only ever requires one connection, what would be the value of a pool? A connection pool is useful (essential?) to improve performance at the server-side in an application that supports multiple clients. I suppose it also depends on how DB intensive your app is.

I agree. Here's the link:
subject: Desktop App and Connection Pools
It's not a secret anymore!