For JSF 2.2, it has been announced that the javax.faces.bean package may possible be deprecated in a future version. Advise is being given to use annotations from other appropriate Java EE specifications where possible (see
In practice this mostly boils down to using CDI managed beans.
While those beans are a near drop-in replacement for JSF's native managed beans, one important feature is missing for them: the view scope (@ViewScoped).
Since the new @FlowScoped annotation requires a JSF implementation to provide a portable CDI extension that implements this scope (see
JAVASERVERFACES_SPEC_PUBLIC-730), I wonder if we can ask the same for @ViewScoped?