1 Reply Latest reply on Sep 28, 2006 8:49 AM by Weston M. Price

    @Ejb and remote ejb references

    der df Newbie

      Hi,
      how can I use dependency injection for remote ejbs residing on other machines?

      Example:

      @Stateless(name="CustomerFacadeClient")
      @SecurityDomain("united-erp")
      @Name("CustomerFacadeClient")
      public class CustomerFacadeClientImpl implements CustomerFacadeClient
      {


      /**
      * CustomerManagerFacade facade
      */
      @EJB
      private CustomerManagerFacade facade;


      CustomerManagerFacade is a stateless session bean and is deployed on an other host. Is that possible to inject facade with a remote ejb reference?

      thanks.