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

Remove native managed bean support #1547

Closed
arjantijms opened this issue Oct 31, 2020 · 2 comments
Closed

Remove native managed bean support #1547

arjantijms opened this issue Oct 31, 2020 · 2 comments
Assignees
Labels
mojarra-implemented API issue implemented by Mojarra myfaces-implemented API issue implemented by MyFaces Remove legacy
Milestone

Comments

@arjantijms
Copy link
Contributor

Faces has its own managed bean system; this allows beans to be defined in XML or with annotations, be given scopes and injected by the managed bean container.

Faces (JSF) was one of the first popular frameworks on the Java market introducing such managed bean system with DI. In the context of Jakarta EE (Java EE/J2EE) it was relatively quickly clear that such managed bean system should not just be restricted to Faces, but be available to the entire platform.

Plans existed to extract the Faces managed bean system, which failed to materialise. Instead, a new effort was started called web beans, which became CDI. CDI, taking inspiration from among others Faces managed beans, effectively replaced Faces' native managed beans and also effectively deprecated these in 2009.

It wasn't however until 2017 until I could officially deprecate this managed bean system.

It's now finally time to let this managed bean system that served us so well during these early years go and remove it fully from Faces.

@tandraschko
Copy link

@arjantijms isnt it already removed in both Mojarra + MyFaces? so we could close it.

@tandraschko
Copy link

should be done in both impls, please close

@arjantijms arjantijms added mojarra-implemented API issue implemented by Mojarra myfaces-implemented API issue implemented by MyFaces labels Sep 13, 2021
arjantijms added a commit to eclipse-ee4j/jakartaee-tutorial that referenced this issue Mar 1, 2022
Porting Jakarta EE Tutorial from '9.1' to '10'. Jakarta Faces. Faces 4.0: "Remove @ManagedBean and friends. Start of 'Adoc' module renaming for align to a new 'faces' instead of old 'jsf' (jakartaee/faces#1547)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mojarra-implemented API issue implemented by Mojarra myfaces-implemented API issue implemented by MyFaces Remove legacy
Projects
None yet
Development

No branches or pull requests

2 participants