Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Desktop App and Connection Pools

 
Gregg Bolinger
GenRocket Founder
Ranch Hand
Posts: 15302
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Julian Kennedy
Ranch Hand
Posts: 823
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic