Craig McClanahan schrieb:
> On 4/9/07, Andrew Robinson <[EMAIL PROTECTED]> wrote:
>> They can also cause issue with duplicate IDs if the ID of the bound
>> component is auto-generated
> 
> Even worse will be big problems when (and not if) you have multiple
> simultaneous requests on the same session (and therefore the same
> component instances).  JSF components are designed on the assumption
> that they will be accessed solely from the request thread, and
> therefore don't worry about things like synchronization around
> modifications.
> 
Actually if you want to combine an object with component bindings with an
object with session scope, there is a way without breaking anything.
Spring 2.0

Spring 2.0 has the so called aop:scoped-proxy constructs which allow
to combine various objects of different scope in a clean manner.

With that you can combine longer scoped objects with smaller scoped ones
without breaking anything.

Reply via email to