1 Reply Latest reply on Oct 28, 2008 10:10 PM by Hugo Cura

    How to configure jndi-pattern for ejb with local and remote interfaces

    Anna Manukyan Newbie

      Hi :),

      I have a question regarding jndi-pattern for ejb with local and remote interfaces. I've found some topics about this theme, but I couldn't find real answer to my question. So my question is:

      WHAT KIND of JNDI-Pattern should I write in components.properties, so that my application first look up for the local interface, and then for remote?

      Currently in my components.properties file I have:

      jndiPattern #{ejbName}/local
      debug true

      So when I implement in my ejb bean only local interface, then everything is fine. But when I add in implements list also my Remote Interface, then I've got exception.

      Thanks in advance.