1 Reply Latest reply on Oct 8, 2010 5:39 AM by Mike Wilson

    using or embedding weld inside framework

    Mike Wilson Newbie

      I'm thinking about using CDI/Weld as the DI container for the internal classes of a framework that will be used by a number of applications. The applications may, or may not, use CDI for their own DI. How can I minimize the cross-talk between the framework and application when both are using CDI?


      (Ideally, I would be able to say that the framework classes shouldn't bind to stuff outside the framework jar, and not allow classes outside the framework jar to bind to framework classes. Is this possible?)