On Thu, Aug 9, 2012 at 9:50 AM, Edward Burns <edward.burns_at_oracle.com>wrote:
>
>
> The use of CDI for all things managed bean was decided long ago, when
> CDI and JSF were both included in the JavaEE Web Profile. That decision
> cannot be revisited. JSF will still keep the practice of running just
> fine in straight up Tomcat, but features that use CDI, such as flows and
> the new @ViewScoped annotation (also in the flow package) will only work
> if CDI is present.
>
> The same is true for Bean Validation, the features that use Bean
> Validation only work if Bean Validation is present.
>
That makes sense, but why do we need a new annotation? Can't we just have
ViewScope be picked up by CDI if it's in the classpath?
>
> Ed
>
> --
> | edward.burns_at_oracle.com | office: +1 407 458 0017
> | homepage: | http://ridingthecrest.com/
>