1 Reply Latest reply on Jul 23, 2006 7:48 PM by gavin.king

    Event scopted stateful components

    hchafi

      I am not sure I understand the benefit of using an event scoped stateful component such as was used in the RegisterAction class of seams-booking. In seam-registration, a stateless RegisterAction is used, and things seem to work fine.

      -hc

        • 1. Re: Event scopted stateful components
          gavin.king

          By making it stateful, you can have it keep state between multiple different calls in the same request. This is not true for stateless beans. For example, if the bean is bound to JSF form properties, it must be stateful.