File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
Author

Desktop App and Connection Pools

Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15300
    
    6

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
Gregg,

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.

Jules
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Desktop App and Connection Pools