You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
JSF has for some time been emphasising to use CDI instead of its own native bean facility. Specifically, newer features such as @FlowScoped that were introduced in JSF 2.2 require CDI and won't work with the native bean facility.
Having the old native managed bean facility available is not rarely confusing to users. E.g. it's common to accidentally import javax.faces.bean.RequestScoped instead of javax.enterprise.context.RequestScoped.
Because of this I'd like to propose deprecating all the types in the javax.faces.bean package as well as the package itself via the @deprecated annotation and/or javadoc, and mention what the alternatives are.
Affected Versions
[2.3]
The text was updated successfully, but these errors were encountered:
JSF has for some time been emphasising to use CDI instead of its own native bean facility. Specifically, newer features such as @FlowScoped that were introduced in JSF 2.2 require CDI and won't work with the native bean facility.
Having the old native managed bean facility available is not rarely confusing to users. E.g. it's common to accidentally import javax.faces.bean.RequestScoped instead of javax.enterprise.context.RequestScoped.
Because of this I'd like to propose deprecating all the types in the javax.faces.bean package as well as the package itself via the @deprecated annotation and/or javadoc, and mention what the alternatives are.
Affected Versions
[2.3]
The text was updated successfully, but these errors were encountered: