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.
It is sorta covered in the
JavaRanch Style Guide
subject: threadsafe objects
which data is ThreadSafe ?
true or false......implicit obj's 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-2013