Skip to content
This repository has been archived by the owner on Sep 5, 2023. It is now read-only.

Deprecate types in javax.faces.bean package #1417

Closed
glassfishrobot opened this issue May 18, 2016 · 4 comments
Closed

Deprecate types in javax.faces.bean package #1417

glassfishrobot opened this issue May 18, 2016 · 4 comments

Comments

@glassfishrobot
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]

@glassfishrobot
Copy link
Author

Reported by @arjantijms

@glassfishrobot
Copy link
Author

Issue-Links:
is related to
JAVASERVERFACES-4145

@glassfishrobot
Copy link
Author

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

@glassfishrobot
Copy link
Author

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

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

No branches or pull requests

2 participants