0 Replies Latest reply on Jun 30, 2009 11:38 PM by pepe trueno

    injecting a non-component bean

    pepe trueno Newbie

      Is there a way to inject reference from a non-component stateless ejb into a component java bean?, I mean something like this:


      @Stateless
      public class MyBeanImpl implements MyBean
      {
      ...
      }



      @Name("myComponent")
      public class MyComponent implements Serializable
      {
      ...
        MyBean _myBean_;
      ...
      }