Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
M2
-
None
Description
If a managed bean has a public field, it must have scope @Dependent. If a managed bean with a public field declares any
scope other than @Dependent, the container automatically detects the problem and treats it as a definition error, as defined
in Section 12.4, "Problems detected automatically by the container".