Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate types in javax.faces.bean package #1417

Closed
eclipse-faces-bot opened this issue May 18, 2016 · 5 comments
Closed

Deprecate types in javax.faces.bean package #1417

eclipse-faces-bot opened this issue May 18, 2016 · 5 comments

Comments

@eclipse-faces-bot
Copy link

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]

@eclipse-faces-bot
Copy link
Author

@glassfishrobot Commented
Reported by @arjantijms

@eclipse-faces-bot
Copy link
Author

@glassfishrobot Commented
Issue-Links:
is related to
JAVASERVERFACES-4145

@eclipse-faces-bot
Copy link
Author

@glassfishrobot Commented
Marked as fixed on Friday, March 10th 2017, 1:16:52 pm

@eclipse-faces-bot
Copy link
Author

@glassfishrobot Commented
This issue was imported from java.net JIRA JAVASERVERFACES_SPEC_PUBLIC-1417

@eclipse-faces-bot
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants