2 Replies Latest reply on Dec 9, 2008 2:06 PM by aleksander.lech

    Dependency injection of remote bean

    aleksander.lech

      I am in the middle of creating design of a system that probably is to be deployed to few separate machines. I would have a following scenario then: a session bean A is on machine1, session bean B is on machine2. Bean A needs a reference to bean B. The question: is this possible to do this through dependency injection? or I have to manually setup a jndi xontext and lookup the bean B there?

      Regards,
      Alex