Ed and I quickly talked about it 2 weeks ago if I remember correctly.
Imo it's just a different flavour.
The current ViewScoped annotation is perfectly fine to get picked up by CDI, Spring, and any other DI container. There is still no @FlashScoped in JSF in the javax.faces.bean package yet, right?
Well, and the other scopes are redundant to the EE standard scopes: @RequestScoped, @ApplicationScoped, @SessionScoped.
So I can certainly see that Ed likes to get rid of the whole package. There is no technical necessity to create a new @ViewScoped though, it's really just a matter of taste and sanity.
The other question is whether you like to add CDI annotations to the JSF api package. Again: for just the scopes it is not needed as all this can be registered via CDI-Extensions as well (like CODI and Seam3 does). If you make this e.g. @NormalScoped then you will always need a CDI api jar in the classpath. Not sure if Spring users would be happy about that :)
LieGrue,
strub
>________________________________
> From: Kito Mann <kito.mann_at_virtua.com>
>To: Edward Burns <edward.burns_at_oracle.com>
>Cc: jsr344-experts_at_javaserverfaces-spec-public.java.net
>Sent: Wednesday, August 8, 2012 7:03 PM
>Subject: [jsr344-experts mirror] [jsr344-experts] Re: 1087-ViewScoped: PROPOSAL
>
>
>
>
>On Tue, Aug 7, 2012 at 6:27 PM, Edward Burns <edward.burns_at_oracle.com> wrote:
>
>>>>>> On Mon, 6 Aug 2012 16:30:05 +0200, Werner Keil <werner.keil_at_gmail.com> said:
>>
>>WK> Have you asked Pete and/or Mark Struberg?
>>
>>No, I haven't. What should I ask them?
>>
>
>
>I would think it'd be good to look at how SeamFaces and CODI implemented ViewScope, since they both used CDI.
>
>>Ed
>>
>>
>>--
>>| edward.burns_at_oracle.com | office: +1 407 458 0017
>>| homepage: | http://ridingthecrest.com/
>>
>
>
>