I have to maintain an app that create often resources and use them a very short time. So, most of the (precious user) time is spent in creating resources rather than actually using them.
I'd like to put those resources into a pool for grabbing them faster. I'm looking for a Java API that would permit me to do resource pooling (ie generic object pooling). I don't want to reinvent the wheel.
I have found Apache Commons Pool for doing so in a Java application quite easily (as I have read the sample code so far).
After googling, it seems hard to find any other except the well known C3PO, Proxool etc. Those latest do Connection pooling !
Do you know other APIs on the market that address the same need ?
Requirements :