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

    Seam context variables not available to non-EJB components

    Raj Tiwari Newbie

      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