8 Replies Latest reply on Oct 3, 2011 1:59 PM by lightguard

    Equivalent of Seam 2 Component

    idyoshin

      Sometimes I've been using code like  (EntityManager ) Component.getInstance("entityManager")  or Component.getInstance(SomeController.class)



      That I've been using in some @Transitional methods in my entities. I understand  that now I can rewrite everything with controller's and el functional calls with params like  #{someController.process(someObject)}


      But I'm very interested in facade for components in cdi.  Maybe it's already present and I haven't found it yet?


      Any advise would be great.
      Kind regards,
      Ilya