[jbosscache-dev] Using Apache DBCP in NonManagedConnectionFactory

Manik Surtani manik at jboss.org
Mon Oct 16 06:16:36 EDT 2006


On 12 Oct 2006, at 18:01, Vladimir Blagojevic wrote:

> Never underestimate people's stupidity, like me for example. On a more
> serious note, can this pooling be isolated and then use interchangable
> pooling implementations? How does hibernate make it interchangable?  
> They
> must be using some adaptation layer?
>
> My main point is to see what they have done and not reinvent the  
> wheel.

I don't think we need that degree of sophistication (==  
complication).  Just embed a simple conn pooling library and use it.   
If people want more flexibility, use an appserver with a conn pool.

What do you think?

>
>> -----Original Message-----
>> From: Manik Surtani [mailto:manik at jboss.org]
>> Sent: Thursday, October 12, 2006 12:53 PM
>> To: Vladimir Blagojevic
>> Cc: jbosscache-dev at lists.jboss.org
>> Subject: Re: [jbosscache-dev] Using Apache DBCP in
>> NonManagedConnectionFactory
>>
>> I doubt anyone would use a cache loader if JBC is a cache for
>> Hibernate.  :-)
>>
>> This is more for standalone cases, not even within an app
>> server since then the app server would provide db conn pooling.
>> --
>> Manik Surtani
>>
>> Lead, JBoss Cache
>> JBoss, a division of Red Hat
>>
>> Email: manik at jboss.org
>> Telephone: +44 7786 702 706
>> MSN: manik at surtani.org
>> Yahoo/AIM/Skype: maniksurtani




More information about the jbosscache-dev mailing list