1 Reply Latest reply on May 7, 2011 7:26 AM by xsalefter.xsalefter.yahoo.com

    What ScopeType should be used during construction of seam objects

    josdaniel
              UserList userList = (UserList) Component.getInstance(UserList.class);
              return userList.getUserByLoginId(loginId);

      A sample code usage of fetching a user by login id is given below. I instantiate the UserList class to call the method. What ScopeType should I use here specifically so that the object's scope is minimal.