Some documentation on the pool: and one additional thing is that you can pool XA connections too, something that DBCP didn't support earlier.
http://www.tomcatexpert.com/blog/2010/03/22/understanding-jdbc-pool-performa nce-improvements http://www.tomcatexpert.com/blog/2010/04/01/configuring-jdbc-pool-high-concu rrency http://www.tomcatexpert.com/blog/2010/04/19/building-extensions-jdbc-pool > -----Original Message----- > From: Romain Manni-Bucau [mailto:[email protected]] > Sent: Monday, August 06, 2012 2:06 AM > To: [email protected] > Subject: Re: default tomee ds pool > > Hi, > > currently (i mean in the code) it is tomcat-jdbc but not sure we'll keep > it > for the release (discussing about it is a bit hard currently since > that's a > "holiday time" ;)). > > Since we were using dbcp for years i guess we'll stick on it by default > for > some more time but next major release will probably change it. > > Any idea of the difference between both pool? if you can share any > figures > please do :) > > - Romain > > > 2012/8/4 zeeman <[email protected]> > > > I got another build today. I added openejb.jdbc.datasource-creator = > tomcat > > to tomee/conf/system.properties > > > > and remvoed DBCP and common-pool jar. My app worked. A small batch run > in > > background with small number of threads shows a slight edge of Tomcat > over > > DBCP. It should make a difference in prod under load. > > > > I'm gonna stick with Tomcat pool for now. Will test with BoneCP in a > real > > environment later. > > > > Thank you for getting this done. This is awesome. Party, women, and > booze > > on > > me :) > > > > You should definitely add this as one of Tomee features as other app > > servers > > don't allow multiple pool implementations. > > > > Which pool is the default? I hope Tomcat one :) > > > > > > > > -- > > View this message in context: > > http://openejb.979440.n4.nabble.com/default-tomee-ds-pool- > tp4656531p4656669.html > > Sent from the OpenEJB Dev mailing list archive at Nabble.com. > >
