3 Replies Latest reply on Nov 28, 2006 11:01 AM by Eric Anderson

    Confused abotu how to get context...

    Eric Anderson Newbie

      I am a little confused on how to lookup the context of an EJB. In using the Oracle tutorals they seem to suggest using

      @Stateless(name = "myName")

      and then looking it up like context.lookup("myName");

      This seems to work fine in OC4J but not in JBoss

      What is the correct way to lookup a EJB?