I was reading the thread safety of variables when we implement the SingleThreadModel interface and when we don�t implement the SingleThreadModel interface. The final conclusion is that only the request time variables and the local variables are thread safe and no other variables. That�s fine with me, no issues in that.
My doubt is that is that � Is StringBuffer variables thread safe irrespective of their position and irrespective of whether the class implements SingleThreadModel�??? (As the StringBuffer Class objects are threadsafe by default). Please clarify if I am wrong to interpret something.
Thanks in advance. [ December 07, 2006: Message edited by: Siddharth Purandare ]
Siddharth Purandare<br />SCJP 1.4 - 76%<br />SCWCD 1.4 - 85%<br /> <br />It is the "attitude" and not the "aptitude" which determines "altitude".