Reuse CDI @Named managed bean (or how to change annotation "name")
Ignacio de Cordoba
posted 5 years ago
I'd like to use multiple instances of the same CDI Named bean in a JSF2 page. I wonder how can I "override" the default name of @Named annotation so I can have those 3 o 4 instances in my page. I've search about beans.xml but don't find it. Can I use old faces-context.xml "managed bean" entry? Don't know if that will apply to a CDI @Named bean or can only be use for old non CDI managed beans.