You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Martin van den Bemt <ml...@mvdb.net> on 2003/11/07 15:56:14 UTC

Re: Réf. : Re: Réf. : Re: Réf. : RE: dbcp size nightmare

ehmm you mean even though if I am a an expert java programmer I still
can learn :) 
I tested what you said of course (don't actually have any code with
finally and returning / throwing new exceptions in a catch) and you are
right :)
So my wasn't thinking was actually lack of knowledge :)

Mvgr,
Martin

On Fri, 2003-11-07 at 15:42, Stephen Westbom wrote:
> You are forever banished to the ranks of the novice Java programmers :)
> 
> --- Martin van den Bemt <ml...@mvdb.net> wrote:
> > My bad wasn't thinking.. 
> > 
> > Mvgr,
> > Martin



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


RE: dbcp

Posted by Vic Cekvenich <ce...@baseBeans.com>.
Using connection pooling in this way is not best practice.

Consider this instead:
http://marc.theaimsgroup.com/?l=struts-user&m=106780084619434&w=2
That is using a DAO, like example of PetStore 3 on iBatis.com

-- 
Victor Cekvenich,
Struts Instructor
(215) 321-9146

Advanced Struts Training
<http://basebeans.com/do/cmsPg?content=TRAINING> Server Side Java
training with Rich UI, mentoring, designs, samples and project recovery
in North East.
Simple best practice basic Portal, a Struts CMS, Membership, Forums,
Shopping and Credit processing, <http://basicportal.com> software, ready
to develop/customize; requires a db to run.



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org