beehive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kyle Marvin <kylemar...@gmail.com>
Subject Re: fix for BEEHIVE-1003
Date Tue, 15 Nov 2005 22:08:37 GMT
On 11/14/05, Rich Feit <richfeit@gmail.com> wrote:
> OK, just to make sure I understand the issue, here's what I know:
>
>
> ...and here's what I don't know:
>
>    - What's the adverse affect of possibly calling
> beginContext/endContext on ServletBeanContext twice within the same
> request?  Is this really not a legitimate thing to do?

It's legitimate, but not optimal.  Basically any controls that manage
resources (like connections,etc) will release them when you call
endContext.   So you are doing more resource acquistion and release
then is necessary if you call multiple times within the same (http)
request execution context.

Mime
View raw message