2 Replies Latest reply on May 23, 2005 5:05 PM by manica

    ServicePOJO dependency injection


      Is it possible to inject a Stateless Session Bean into a ServicePOJO? I'm trying to use the @depends above a setter (similar to ServiceThree.setServiceTwo in the tutorial).

      However, I noticed that the type of the injected object is MBeanProxyExt. When invoking the SLSB's methods, it throws an "IllegalArgumentException: Unable to find operation foo()". foo() is defined on the SLSB's local interface.

      public void setMyBeanService(MyBeanServiceLocal service) {
       this.service = service;

      As always, thank you --