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
call.
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
>