jakarta-taglibs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wong Kok Wai <won...@pacific.net.sg>
Subject Re: JDBC update redux
Date Wed, 14 Feb 2001 00:26:49 GMT
I totally agree. Connection should be open as short as possible. I would
think in the release() method of the tag, the connection.close() has to be

Glenn Nielsen wrote:

> 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

View raw message