Jon Stevens <[EMAIL PROTECTED]> writes:
> on 5/16/01 9:18 AM, "Leandro Saad" <[EMAIL PROTECTED]> wrote:
>
> > I'm afraid not
> > I was trying to implement something like the Memento design pattern
> > holding a reference
> > to RunData but, as RunData objects are cached, I was holding a reference
> > to an object that
> > was going to be used at another request.
>
> Bad bad bad bad idea.
>
> *NEVER* hang on to a RunData.
You can think of hanging onto a RunData as analogous to hanging onto a
HttpServletRequest and HttpServletResponse, only worse. ;)
Dan
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]