This content has been marked as final.
Show 3 replies
-
1. Re: Bijection of Application Scoped Component
stu2 Mar 16, 2007 11:27 PM (in response to youngm)I don't think so. Gavin said access to the session isn't made threadsafe, so it isn't likely. Plus that would impose a severe bottleneck on the application anyway if it were accessed very much, so you probably don't want that anyway.
-
2. Re: Bijection of Application Scoped Component
gavin.king Mar 17, 2007 12:25 AM (in response to youngm)Depends what you mean. The internal data structures are threadsafe, and you can make your own component threadsafe by adding @Synhcronized, but if multiple threads access multiple components out of the session and application context, there is no expectation of atomicity.
-
3. Re: Bijection of Application Scoped Component
youngm Mar 17, 2007 1:05 AM (in response to youngm)Thanks. That's what I figured, Just wanted to make sure I'm not missing something.