0 Replies Latest reply on Feb 8, 2006 3:10 PM by Paula Logan

    Which is better and why?

    Paula Logan Newbie

      When a client does a look up on an ejb, which is the better way to do the
      looking up and why?

      ctx.lookup("java:comp/env/ejb/TestEJB");

      or

      ctx.lookup("ejb/TestEJB");