2 Replies Latest reply on Mar 19, 2008 9:01 PM by rituraj_tiwari

    Seam context variables not available to non-EJB components

    rituraj_tiwari

      I have non-EJB entity homes for my entities. What I ahve discovered is that if I make these homes EJBs, they are happily getting all the @In components such as Log and EntityManager populated. However, if I manually instantiate my entity homes by calling their constructor, the @In variables are not being populated.


      What is the right way to programmatically create a Seam component such that all applicable injections get populated?


      Thanks.


      -Raj