It would probably be a service to all to make the underlying Map that
represents the Session threadsafe using the Collections  threadsafe wrapper.

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of
> Jason Carreira
> Sent: Thursday, February 13, 2003 10:18 AM
> To: [EMAIL PROTECTED]
> Subject: RE: [OS-webwork] Threadsafe questions
>
>
> Actions are created and used for only the scope of one request, so you
> don't have to worry about thread safety there. If you are using objects
> from the Session, however, you need to make them thread safe, as
> multiple requests can be made from the same client at the same time
> (think frames) and you can have multiple threads accessing them at once.
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, February 13, 2003 3:47 AM
> > To: [EMAIL PROTECTED]
> > Subject: [OS-webwork] Threadsafe questions
> >
> >
> > Hi Webworker
> >
> > I'm working with 1.2.1 and I have following question:
> >
> > Do I have to consider some important points when working with
> > webwork to be threadsafe? E.g. use synchronized in the
> > actions methods or when working with the session object?
> >
> > How does webwork garantee that no attributes, seesion objects
> > are reused?
> >
> > Thanks for your help.
> >
> > -Pavel
> >
> >
> >
> >
> >
> > -------------------------------------------------------
> > This sf.net email is sponsored by:ThinkGeek
> > Welcome to geek heaven.
> > http://thinkgeek.com/sf
> > _______________________________________________
> > Opensymphony-webwork mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
> >
>
>
> -------------------------------------------------------
> This SF.NET email is sponsored by: FREE  SSL Guide from Thawte
> are you planning your Web Server Security? Click here to get a FREE
> Thawte SSL guide and find the answers to all your  SSL security issues.
> http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
> _______________________________________________
> Opensymphony-webwork mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
>



-------------------------------------------------------
This SF.NET email is sponsored by: FREE  SSL Guide from Thawte
are you planning your Web Server Security? Click here to get a FREE
Thawte SSL guide and find the answers to all your  SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to