On Mon, 5 Jul 1999, Subrahmanyam A.V.B. wrote:
....
> - [Sec 7.7.1] Can a session object be shared across sessions?
yes
> Why is it
> required that session objects take care of synchronization?
Because no one else (like servlet container) will take care of it...
> Can you give
> an example where this is required?
The same requirements as for GUI single-user applications...
When user opens multiple browser windows and posts them
simultaneously ..
...
> multiple servlets can be shared using the SessionContext (and not
> session), and such objects should be synchronized against threading.
that depends, if such objects are thread safe or not..
Bye
Cezar
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html