Details

    • Type: Task Task
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 2.3
    • Fix Version/s: 2.3
    • Component/s: Managed Beans
    • Labels:
      None

      Description

      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.

        Issue Links

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              arjan tijms
              Reporter:
              arjan tijms
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: