0 Replies Latest reply on Jan 10, 2006 8:38 PM by Alexander Hartner

    Change default JNDI name

    Alexander Hartner Expert

      I just installed the latest CVS snapshot and found that the default JNDI name has changed from the name of the remote or local interface to the name of the bean appended by either remote / local

      This breakes the following example :

      InitialContext ctx = new InitialContext();
      CalculatorServices calculator = (CalculatorServices) ctx.lookup(CalculatorRemote.class.getName());

      and requires something like this :

      InitialContext ctx = new InitialContext();
      Calculator calculator = (Calculator) ctx.lookup("CalculatorBean/remote");

      Did the specification require this change. I haven't check the very latest release, but I haven't found a reference to this change?