Bug 223874 - Hints for JSF2.2 project that javax.faces.bean classes are deprecated, use the CDI ones
Hints for JSF2.2 project that javax.faces.bean classes are deprecated, use th...
Status: RESOLVED FIXED
Product: javaee
Classification: Unclassified
Component: JSF
7.3
All All
: P2 (vote)
: 8.0
Assigned To: Martin Fousek
issues@javaee
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-12-15 14:19 UTC by Martin Fousek
Modified: 2013-10-29 15:19 UTC (History)
2 users (show)

See Also:
Issue Type: ENHANCEMENT
:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Fousek 2012-12-15 14:19:03 UTC
According to JSF2.2 spec. (public review) in the chapter 5.4:
The annotations in the package javax.faces.bean will be deprecated in a version of the JSF specification after 2.2. Therefore, developers are strongly recommended avoid using those annotations and instead use the ones from Java EE 6.

It means that developers should prefer CDI and EE6 annotations prior to JSF annotations. So we should implement hint which complains about that and enables possibility to switch to not-JSF annotations.

BTW, firstly should be check that CDI is integrated enough, see issue #215703 and issue #203986.
Comment 1 David Konecny 2012-12-16 20:24:49 UTC
I've added JSF.1 to the http://wiki.netbeans.org/JavaEE7 and also EE.6.
Comment 2 Martin Fousek 2013-03-08 17:32:37 UTC
The hint was introduced by the web-main #38a4af0873e3.

There is missing Fix for converting faces annotation to CDI or JavaEE ones - I'll take a look on that next week if it will be possible or it will remain for NB8.0.
Comment 3 Martin Fousek 2013-10-25 07:53:00 UTC
Hints made manageable from NetBeans Options in web-main #a0464aedb1a0.
Comment 4 Martin Fousek 2013-10-29 15:19:58 UTC
Rewrite of possible APIs to not-deprecated one done in web-main #f7315afc267f.


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo