File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
are stateless beans thread safe
Using same object for multiple uses
which data is ThreadSafe ?
true or false......implicit obj's threadsafe?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015