JSR-299 (CDI) configuration at runtime
- by nsn
I need to configure different @Alternatives, @Decorators and @Injectors for different runtime environments (think testing, staging and production servers).
Right now I use maven to create three wars, and the only difference between those wars are in the beans.xml files. Is there a better way to do this? I do have @Alternative @Stereotypes for the…