javaserverfaces-spec-public
  1. javaserverfaces-spec-public
  2. JAVASERVERFACES_SPEC_PUBLIC-1287

Make @javax.faces.bean.ManagedBean mean the same thing as @javax.inject.Named

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Won't Fix
    • Affects Version/s: 2.0, 2.1, 2.2
    • Fix Version/s: None
    • Component/s: Managed Beans
    • Labels:
      None

      Description

      The JSF 2.2 spec for the package javax.faces.bean states:

      The annotations in this package may be deprecated in a future version of this specification because they duplicate functionality provided by other specifications included in JavaEE. When possible, the corresponding annotations from the appropriate Java EE specification should be used in preference to these annotations.

      Rather than deprecate, this issue suggests we re-purpose this package to just be equivalent to the equivalent items in CDI and JSR-330.

        Issue Links

          Activity

          Hide
          Ed Burns added a comment -

          Set priority to baseline ahead of JSF 2.3 triage. Priorities will be assigned accurately after this exercise.

          Show
          Ed Burns added a comment - Set priority to baseline ahead of JSF 2.3 triage. Priorities will be assigned accurately after this exercise.
          Hide
          Manfred Riem added a comment -

          Setting priority to Blocker

          Show
          Manfred Riem added a comment - Setting priority to Blocker
          Hide
          Manfred Riem added a comment -

          Instead of doing this we have decided it is better to make tighter CDI support an opt-in for JSF 2.3. So we are not going to retrofit to make it work in CDI.

          Show
          Manfred Riem added a comment - Instead of doing this we have decided it is better to make tighter CDI support an opt-in for JSF 2.3. So we are not going to retrofit to make it work in CDI.

            People

            • Assignee:
              Manfred Riem
              Reporter:
              Ed Burns
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: