File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes Class variable in servlet thread safety Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Class variable in servlet thread safety" Watch "Class variable in servlet thread safety" New topic
Author

Class variable in servlet thread safety

Joe Jackson
Greenhorn

Joined: Apr 12, 2011
Posts: 1
Hi All,

Can we declare a class variable to store Spring bean in a servlet class without compromising thread safety?



I will greatly appreciate any help or comments.
Matthew Brown
Bartender

Joined: Apr 06, 2010
Posts: 4241
    
    7

Hi Joe. Welcome to The Ranch!

Your post is easier to read if you UseCodeTags. I've added them for you this time.

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Class variable in servlet thread safety
 
Similar Threads
hibernate in servlet - threadsafe
Thread Related
Is this thread safe? Simple question.
SingleThreadModel question
thread safety ?