users@jersey.java.net

[Jersey] Re: Parameter validation / jsr-303 ... again

From: Jakub Podlesak <jakub.podlesak_at_oracle.com>
Date: Thu, 13 Oct 2011 14:57:32 +0200

Hi Stephane,

JAX-RS 2.0 should be aligned with Java EE 7 (see [1]).

Java EE 7 is targeted for Q3 2012, but you may expect
early access versions of the JAX-RS 2.0 RI to be available
sooner.

~Jakub

[1]http://www.youtube.com/watch?v=aYYTAT0VBBg

On 13.10.2011 5:13, Stephane Bailliez wrote:
> Hi Jakub,
>
> Thanks for the heads up. This kinda fell from my radar as I was
> working on other things, the implementation looks definitely useful
> enough as a stop-gap.
> What is the timeframe for the jax-rs 2.0 btw ?
>
> On Tue, Oct 11, 2011 at 5:36 AM, Jakub Podlesak
> <jakub.podlesak_at_oracle.com <mailto:jakub.podlesak_at_oracle.com>> wrote:
>
> Hi Stephane,
>
> I am afraid this (validation) will get fully addressed only at
> the JAX-RS 2.0 timeframe.
> Regarding the @Required support, some other user
> posted a simple filter resource filter implementation to support that
> (see [1]). Maybe that would be good enough for you?
> (Notice the annotation ordering glitch).
>
> ~Jakub
>
> [1]http://java.net/projects/jersey/lists/users/archive/2011-10/message/43
>
>
>
> On 5.10.2011 7:25, Stephane Bailliez wrote:
>> Hi,
>>
>> I'm looking for a way to introduce parameter validation without
>> requiring some aop.
>> So ideally I would like the ability to intercept the call to the
>> resource just before it is invoked.
>>
>> I was looking at the implementation and thought I could hookup at
>> the invoker, but that seems hardly doable.
>>
>> Is there any chance to see some traction on
>> https://jersey.dev.java.net/issues/show_bug.cgi?id=351
>> <https://jersey.dev.java.net/issues/show_bug.cgi?id=351> ?
>>
>> Or is there a better solution in the current Jersey code since
>> this issue was created ?
>>
>> Cheers,
>>
>> -- stephane
>
>