This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Multithreading issues associated with request,session,context scope Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Multithreading issues associated with request,session,context scope" Watch "Multithreading issues associated with request,session,context scope" New topic
Author

Multithreading issues associated with request,session,context scope

devayani Devasthali
Ranch Hand

Joined: Aug 25, 2005
Posts: 40
Hi
In developing secure web-application, how one should decide which scope to be used when ?
Also, are servlet init params are secured?


regards
Devayani
Niranjan Deshpande
Ranch Hand

Joined: Oct 16, 2005
Posts: 1277
hey devayani

please be a bit elaborate in your question
since servlet init params belong to a single servlet i believe they will be thread safe provided you synchronize the methods that access them

all ranchers, please correct me if i am wrong


SCJP 1.4 - 95% [ My Story ] - SCWCD 1.4 - 91% [ My Story ]
Performance is a compulsion, not a option, if my existence is to be justified.
Niranjan Deshpande
Ranch Hand

Joined: Oct 16, 2005
Posts: 1277
if i am not making a mistake you too are from pune ?
correct ?
 
Don't get me started about those stupid light bulbs.
 
subject: Multithreading issues associated with request,session,context scope
 
Similar Threads
Display messages from controller on top of JSP page
Undo booking
Scwcd doubt
Declaring variables.
New JavaRanch Journal article: Dependency Injection - What is Scope?