0 Replies Latest reply on Jun 16, 2004 9:18 AM by chris75be

    Why dies the lookup function need the Home/Remote interfaces

    chris75be Newbie

      Hello,

      Here's what I do:

      //I use a properties file
      InitialContext ctx = new InitialContext();
      Object obj = ctx.lookup(ejbName);

      I noticed that the lookup function fails if the client doesn't have the remote AND home interfaces.
      Why??

      Thank you
      Christophe