users@jax-rs-spec.java.net

[jax-rs-spec users] JAX-RS.next was Re: [jsr339-experts] Re: Re: MVC

From: Bill Burke <bburke_at_redhat.com>
Date: Tue, 03 Jun 2014 09:10:42 -0400

On 6/3/2014 8:50 AM, arjan tijms wrote:
> Hi,
>
> On Mon, Jun 2, 2014 at 12:58 PM, Marek Potociar
> <marek.potociar_at_oracle.com <mailto:marek.potociar_at_oracle.com>> wrote:
>
> I would however also would like to know what are the things that you
> would like to see in JAX-RS.next?
>
>
> I know the question was addressed to Bill, but I like to add my 2 cents
> if that's okay ;)
>
> What about deprecating @Context and moving everything to @Inject? This
> is the direction other parts of the platform are moving into as well
> (specifically JSF and in a certain way EJB).
>

+1. Just have to make sure @Inject is parameter scoped as well though.

>
> I'd love to see a platform wide SecurityContext that can be injected via
> @Inject and which would be usable by all types of beans.
>

+1.

-- 
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com