2 Replies Latest reply on Jan 16, 2007 1:24 PM by gavin.king

    [booking]: Why the changePasswordAction is statefull and on

    littlewing1112

      Hello,
      im a newbie on jboss seam.
      I saw in the ChangePasswordAction declaration that this EJB is statefull and initialized on EVENT scope as folllowing:

      @Stateful
      @Scope(EVENT)
      @Name("changePassword")
      @LoggedIn
      public class ChangePasswordAction implements ChangePassword
      


      Firstly, why this action is statefull? In my opinion, this should be stateless. Furthermore, she s defined under the event scope, I dont understand why a statefull bean should be in event scope.
      Could someone give me an explanation of this? It would be nice ...