3 Replies Latest reply on Jan 5, 2009 11:11 AM by Riccardo Pasquini

    remote ejb and dependency injection

    Riccardo Pasquini Novice

      is it possible to use dependency injection for remote ejb3 ?

      i mean:

      i provide 2 ejbs described with annotations where ejb B is injected in ejb A, i provide a jboss.xml file to describe AS deploy like the clustering configuration and the bind between ENC and global jndi of the ejb-ref related to ejb B

      now i want to move ejb B in another jboss AS... but if i replace the global jndi with jnp://theotherserver:1100/MyEJB/remote it doesn't work...

      what am i missing? any idea?

      thnx in advance