m: osagie uwaifo
>>> [mailto:osagieuwa...@gmail.com] Sent: Friday, August 14, 2015
>>> 10:49 AM To: Tomcat Users List Subject: Re: Need help
>>> understanding DB connection versus servlet request life cycle
>>>
>>>> Chris,
>>>>
>>&g
Users List
Subject: Re: Need help understanding DB connection versus servlet request life
cycle
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA256
>
> Cris,
>
> On 8/14/15 1:36 PM, Cris Berneburg - US wrote:
> > -Original Message- From: osagie uwaifo
> >
anding DB
> connection versus servlet request life cycle
>
>> Chris,
>>
>> Why don't you allow tomcat manage the connection for you?
>>
>> http://tomcat.apache.org/tomcat-7.0-doc/jdbc-pool.html
>>
>> It is a lot easier that way. Do you need examples?
Osagie
-Original Message-
From: osagie uwaifo [mailto:osagieuwa...@gmail.com]
Sent: Friday, August 14, 2015 10:49 AM
To: Tomcat Users List
Subject: Re: Need help understanding DB connection versus servlet request life
cycle
> Chris,
>
>Why don't you allow tom
Chris,
Why don't you allow tomcat manage the connection for you?
http://tomcat.apache.org/tomcat-7.0-doc/jdbc-pool.html
It is a lot easier that way. Do you need examples?
On Fri, Aug 14, 2015 at 9:12 AM, Cris Berneburg - US
wrote:
> BACKGROUND: I've been doing Java servlet coding for abo
BACKGROUND: I've been doing Java servlet coding for about 2 years and need
help understanding something. I work on a legacy JSP and servlets web
application project using Tomcat. Previously all the SQL was embedded right
into the Java and JSP code. I added the myBatis framework and moved all