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

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

From: Bauke Scholtz <balusc_at_gmail.com>
Date: Thu, 19 May 2016 10:33:23 +0200

It's about time. I've already prepared the community for years that
@ManagedBean and friends are going to be deprecated.

+1 definitely.

When mentioning alternative for @ManagedProperty, don't mention only
@Inject but also explain @Produces possibility and all those new CDI
qualifiers for JSF artifacts.

Cheers, B


On Wed, May 18, 2016 at 10:44 PM, arjan tijms <arjan.tijms_at_gmail.com> wrote:

> Hi,
>
> Thanks for the support Michael en Paul :) I've created
> https://java.net/jira/browse/JAVASERVERFACES_SPEC_PUBLIC-1417 in support
> of this.
>
> Kind regards,
> Arjan Tijms
>
>
> On Wed, May 18, 2016 at 9:41 PM, Paul Nicolucci <pnicoluc_at_us.ibm.com>
> wrote:
>
>> +1
>>
>> Regards,
>>
>> Paul Nicolucci
>>
>>
>> [image: Inactive hide details for Michael Müller ---05/18/2016 03:40:02
>> PM---+99999 (at least) This avoids a commonly Seen problem]Michael
>> Müller ---05/18/2016 03:40:02 PM---+99999 (at least) This avoids a commonly
>> Seen problem
>>
>> From: Michael Müller <michael.mueller_at_mueller-bruehl.de>
>> To: jsr372-experts_at_javaserverfaces-spec-public.java.net
>> Date: 05/18/2016 03:40 PM
>> Subject: [jsr372-experts] Re: [jsr372-experts mirror] Deprecating types
>> in javax.faces.bean package?
>> ------------------------------
>>
>>
>>
>> +99999 (at least)
>>
>> This avoids a commonly Seen problem
>> --
>> Herzliche Grüße, best regards
>> Michael Müller
>>
>> Am 18. Mai 2016 20:43:11 MESZ, schrieb arjan tijms <arjan.tijms_at_gmail.com
>> >:
>>
>> 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
>>
>>
>>
>




graycol.gif
(image/gif attachment: graycol.gif)