2 Replies Latest reply on Oct 24, 2013 7:48 AM by Matthias Bader

    CDI: Compose beans.xml from multiple configuration files

    Matthias Bader Newbie



      is it possible to have a CDI beans.xml composed from multiple configuration files?

      E.g. if an application is composed of several modules and I want to keep all configurations (like excluding packages) maintained by the modules.

      Something like




      I am thinking of two approaches:

      1. import-statements within a common beans.xml, importing the modules beans.xml
      2. instead of one common beans.xml, having possibility to specify a list of beans.xml files


      Thanks in advance for any help!