This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes JDBC and the fly likes connection pool across multiple jvm processes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "connection pool across multiple jvm processes" Watch "connection pool across multiple jvm processes" New topic
Author

connection pool across multiple jvm processes

Sree Nivas
Ranch Hand

Joined: Jul 24, 2003
Posts: 95
Hello All,

We are using postgresql database for connection pool and we have different processes running under different jvms. My question is: is it possible to share single connection pool by all the processes running under different jvms? If so, how?

thanks & regards
Sree nivas
Scott Selikoff
Saloon Keeper

Joined: Oct 23, 2005
Posts: 3704
    
    5

Not directly, but you could have them all connect to a single database service jvm that manages all database connections directly.


My Blog: Down Home Country Coding with Scott Selikoff
 
jQuery in Action, 2nd edition
 
subject: connection pool across multiple jvm processes