>>>Are our proxies 100% thread safe?
Answer is NO.

2009/12/22 Gurkan Erdogdu <[email protected]>

> As you said, proxies are just facades. It is thought as immutable. Its sole
> purpose is to get actual instance of the bean from current context. I
> remember that there is no thread-safety requirements of the scoped instances
> in the specification. If there are parallel calls to the same proxy
> instance, this means that parallel calls to same scoped instances. For
> example, Seam defines some conditions for handling multi-threaded session or
> application scoped instances.
>
> --Gurkan
>
> 2009/12/22 Mark Struberg <[email protected]>
>
> Hi!
>>
>> Just a short mail to ensure that we take care of a few things:
>>
>> .) Are our proxies 100% thread safe? Because we currently only create one
>> proxy instance for all instances of a specific bean. Which means that
>> parallel requests coming through a web server may result in concurrent proxy
>> invocations to the same proxy instance, even if the proxied bean instances
>> behind the facade differ.
>>
>> LieGrue,
>> strub
>>
>> __________________________________________________
>> Do You Yahoo!?
>> Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz
>> gegen Massenmails.
>> http://mail.yahoo.com
>>
>
>
>
> --
> Gurkan Erdogdu
> http://gurkanerdogdu.blogspot.com
>



-- 
Gurkan Erdogdu
http://gurkanerdogdu.blogspot.com

Reply via email to