1 Reply Latest reply on May 24, 2007 9:51 AM by Gavin King

    Scope Precedence

    Monkey Den Master

      What is the precedence of scope in this contrived scenario? The first is the data member which I want to inject, is SESSION scoped. The second is the Stateless SB, with EVENT scope, who defines the MyDataMember with APPLICATION scope. See "HERE" in the code:

      @Scope(SESSION) //HERE
      public class MyDataMember {

      @Scope(EVENT) //HERE
      public class MyAction implements MyLocal {
       @In(scope=APPLICATION) //HERE
       private MyDataMember myDataMember;