SCJP2,SCWCD 1.4
SCJP 1.4 SCWCD 1.4
Marco Tedone<br />SCJP1.4,SCJP5,SCBCD,SCWCD
the request and response objects are not guaranteed to be thread safe
Originally posted by Bernhard Slominski:
Marco, can you tell me exactly what you mean by that.
Request scoped attributes are thread safe right!
But the request object itself is not??
What does that mean for me, do I have put some of my code in a sychronized block and lock on the request object?
Can you give me an example what might go wrong?
Marco Tedone<br />SCJP1.4,SCJP5,SCBCD,SCWCD
SCJP 1.4 SCWCD 1.4
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime. |