(Ignore my mail, I missed the fact that the initial discussion was about REST 
clients not JdBC)

-- 
http://bernd.eckenfels.net

-----Original Message-----
From: e...@zusammenkunft.net
To: dev@commons.apache.org
Sent: Fr., 29 Jan. 2016 7:39
Subject: RE: Maintain sub pools within Commons pool - is it possible

Hello,

You can programmatically create and configure pools at runtime. (At least if 
you skip container infrastructures). You can even dynamically register the 
pools in JNDI. I dont think you need sub-pools for this. (Subpools would be 
more interesting for partitioning connections by transaction or session state).

The only problem I see would be to access the dynamic pools from JPA persitence 
declarations, however thats a problem which is nkt really solved with sub-pools 
either.

Gruss
Bernd

PS: i think this part of the discussion is better done on the user mailing list

-- 
http://bernd.eckenfels.net

-----Original Message-----
From: Krishnakumar Parasuram <parasuram.krishna.ku...@oracle.com>
To: dev@commons.apache.org
Sent: Do., 28 Jan. 2016 16:27
Subject: RE: FW: Maintain sub pools within Commons pool - is it possible

Hi Jochen,

 

Thanks for your message.  The difference between to two separate pools is that 
in our framework we don't know exactly how many no of separate pool we might 
require, it is not two, but can scale more than 10, 20 in production 
environment and I think to have so many pools and that to we have to create 
dynamically at runtime, not practical

 

If it was a sub pool, I can always create the sub pool based on demand at 
runtime.  Moreover we have few parameters for each sub pool to maintain a min 
and max connection objects, which parameters can be different for each sub pool 
and cannot be implemented while design as we do not know these value of these 
parameters at design time.

 

Please let me know if this answers your question else let know

 

Regards

Krishnakumar

 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to