ThreadLocal implies that you always have a single thread throughout the
lifecycle of the action (prepare, execute, print results). This is true for
a servlet container (single thread/request), but not so in other areas.

If you look at the code, the context Map is being passed around. I don't
really see it as that bad, but I guess that's all subjective.

-Pat

----- Original Message -----
From: "Hani Suleiman" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, January 11, 2003 4:15 AM
Subject: Re: [OS-webwork] Getting rid of thread locals


> Err, how is ThreadLocal servlet related? How would any of the context
> stuff work without it?
>
> On Saturday, January 11, 2003, at 03:56 AM, Patrick Lightbody wrote:
>
> > In effort to ditch the servlet paradigm, any thoughts on changing
> > ActionContext from being a ThreadLocal to just a normal Map? I've got
> > some
> > code I can commit to CVS if you'd like to see how it would work.
> >
> > -Pat
> >
> >
> >
> >
> > -------------------------------------------------------
> > This SF.NET email is sponsored by:
> > SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
> > http://www.vasoftware.com
> > _______________________________________________
> > Opensymphony-webwork mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
> >
>
>
>
> -------------------------------------------------------
> This SF.NET email is sponsored by:
> SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
> http://www.vasoftware.com
> _______________________________________________
> Opensymphony-webwork mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to