jsr372-experts@javaserverfaces-spec-public.java.net

[jsr372-experts] Deprecating types in javax.faces.bean package?

From: arjan tijms <arjan.tijms_at_gmail.com>
Date: Wed, 18 May 2016 20:43:11 +0200

Hi,

As it's been clear for some time we're moving away from the JSF native
managed bean facility, I'd like to propose deprecating all the types in the
javax.faces.bean package via the @deprecated annotation and/or javadoc, and
mention what the alternative is now.

This would particularly be helpful with things like
javax.faces.bean.RequestScoped vs javax.enterprise.context.RequestScoped,
where people not rarely import the wrong version.

Thoughts?

Kind regards,
Arjan Tijms