Hi,
I have a question about the way we now declare managed beans in JSF 2.
Which annotation should we use at the class level :
@javax.faces.bean.ManagedBean or @javax.inject.Named ?
With CDI (JSR 299) now available in Java EE 6, I am not sure which one to use when creating managed beans for JSF.
What do you recommend and why ?
Thanks for your feedback.