A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Elasticsearch in Action
this week in the
Session and context objects
Joined: May 25, 2001
Aug 25, 2001 18:20:00
Are the session and context objects thread-safe/access to them synchronized? Is this implemented by the web container or do we need to take care of it in our code?
Author and all-around good cowpoke
Joined: Mar 22, 2000
Aug 26, 2001 07:47:00
You should not count on the session and context methods being thread-safe as there is no requirement for that in the API.
I agree. Here's the link:
subject: Session and context objects
Difference between getAttribute and getParameter
open sessions vs cuurent session
Size limit of the Request
Stateless Session Bean setSessionContext operations
Doubt on implicit objects
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015