Hello,
I'm familiarizing myself with CDI. I've started with the standalone applications. I'm using
Jboss Weld for this. I can't really create several beans of the same type. Spring framework in contrast allows to register several beans in XML configuration file of the same type but with different bean names/ids:
After that I'm able to retrieve a bean from the context by its name:
But all the tutorials found in the net devoted to CDI and Weld have similar code example:
Is it possible to create several performers and put them into CDI META-INF/beans.xml file?