A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
EJB 3 in Action
this week in the
EJB and other Java EE Technologies
Web Component Certification (SCWCD/OCPJWCD)
Joined: Jul 18, 2008
Aug 06, 2009 20:29:06
If we declare servletcontext and session objects inside the mothod(like doGet or doPost) then are they threadsafe for being local variables?
Joined: Apr 21, 2008
Aug 06, 2009 21:31:46
They are not thread safe.
I agree. Here's the link:
subject: threadsafe objects
true or false......implicit obj's threadsafe?
which data is ThreadSafe ?
Using same object for multiple uses
are stateless beans thread safe
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014