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

    Which is better and why?

    pmlogan

      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");