A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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
Using same object for multiple uses
are stateless beans thread safe
true or false......implicit obj's threadsafe?
which data is ThreadSafe ?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014