1 Reply Latest reply on Jan 15, 2008 1:45 AM by nickarls

    A little confuse on stateful context scope types

    gus888

      Anybody can explain the distinguish among the stateful context scope types listed below. If I don't use long-running conversation, their functionalities are same? Thank you very much in advance.

      @Name("myAction")
      @Stateful
      @Scope(ScopeType.EVENT)
      public class MyActionBean implements MyAction {
      ...
      }
      
      @Name("myAction")
      @Stateful
      public class MyActionBean implements MyAction {
      ...
      }
      
      @Name("myAction")
      @Stateful
      @Scope(ScopeType.CONVERSATION)
      public class MyActionBean implements MyAction {
      ...
      }