Connections should be short lived at the page level, only instantiated
as long as needed.  The underlying container, datasource, or driver
should be left to manage the connections by using such things as dB
connection pooling etc.  Holding on to a connection in the session scope
would severely limit scaling of db connections.

Regards,

Glenn

"Ciot, Thierry" wrote:
> 
> Did you consider providing the capability to keep a connection in the
> session instead of just page context?
> For example, having a scope attribute in the connection tag.
> 
> Thierry
> 
> -----Original Message-----
> From: Morgan Delagrange [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, February 13, 2001 12:01 PM
> To: [EMAIL PROTECTED]
> Subject: Re: JDBC update redux
> 
> Hey Marius,
> 
> Could you forward me the source code, so I can take a
> look?  Thanks!
> 
> - Morgan
> 
> --- Marius Scurtescu <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > I compiled and tested the new JDBC taglib today. I
> > run
> > into only one minor problem.
> >
> > The getNumber tag will format the number either as a
> > double
> > or as a long, depending on the SQL type of the
> > column.
> > I had to add two more types to the double case in
> > order
> > to make it work with the 'money' type in MS SQL
> > Server 7.
> >
> > These types are DECIMAL and NUMERIC, 'money' is
> > mapped to
> > one of these two.
> >
> > It looks like a pretty solid implementation.
> >
> > Marius
> >
> > Morgan Delagrange wrote:
> > >
> > > Hi all,
> > >
> > > So, did anybody get a chance to check out the new
> > JDBC
> > > taglib additions?  This is my latest release
> > candidate
> > > (less the necessary documentation update).
> > Comments?
> > >
> > > - Morgan
> > >
> > > =====
> > > Morgan Delagrange
> > > Britannica.com
> > >
> > > __________________________________________________
> > > Do You Yahoo!?
> > > Get personalized email addresses from Yahoo! Mail
> > - only $35
> > > a year!  http://personal.mail.yahoo.com/
> >
> > --
> > ------------------
> > Marius Scurtescu, Software Engineer
> > Tel: (604) 899-2835 Fax: (604) 899-2899
> > mailto:[EMAIL PROTECTED]
> > Multiactive Software Inc. http://www.multiactive.com
> > ------------------
> > Attract and retain customers with Multiactive
> > Software --
> > proud winners of PC WEEK's "Best of COMDEX" award.
> > ------------------
> 
> =====
> Morgan Delagrange
> Britannica.com
> 
> __________________________________________________
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail - only $35
> a year!  http://personal.mail.yahoo.com/

-- 
----------------------------------------------------------------------
Glenn Nielsen             [EMAIL PROTECTED] | /* Spelin donut madder    |
MOREnet System Programming               |  * if iz ina coment.      |
Missouri Research and Education Network  |  */                       |
----------------------------------------------------------------------

Reply via email to