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

    A little confuse on stateful context scope types

    Gus Gu Expert

      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 {
      ...
      }