users@jax-rs-spec.java.net

[jax-rs-spec users] [jsr339-experts] Re: Re: FYI: BeanValidation support in JAX-RS 2.0

From: Santiago Pericas-Geertsen <Santiago.PericasGeertsen_at_oracle.com>
Date: Thu, 20 Sep 2012 13:47:08 -0400

On Sep 20, 2012, at 1:27 PM, Markus KARG wrote:

> ok for me, but why not simply limiting support for such environments in the
> spec instead of stripping it completely?
>

 Because what we say may not be 100% inline with what the BV/CDI spec _will_ say when they go final. In fact, there are a couple of areas where we may differ already. It's simpler for us to defer to their spec.

-- Santiago

>> -----Original Message-----
>> From: Marek Potociar [mailto:marek.potociar_at_oracle.com]
>> Sent: Donnerstag, 20. September 2012 17:55
>> To: jsr339-experts_at_jax-rs-spec.java.net
>> Subject: [jsr339-experts] FYI: BeanValidation support in JAX-RS 2.0
>>
>> Hello experts,
>>
>> FYI, due to conflicts between BV 1.1 and JAX-RS 2.0 schedule we plan to
>> defer BV support to CDI in Java EE 7 environment, which is in sync with
>> the current plans of other EE 7 specs. This means that BV will be
>> supported in CDI-managed JAX-RS resources (using CDI-provided
>> mechanisms). Support for BV in resources not managed by CDI or outside
>> Java EE container will be considered for an addition in a future JAX-RS
>> release.
>>
>> To accommodate this plan, following changes will be made in JAX-RS 2.0
>> spec:
>>
>> - all references to BV will be removed from the spec
>> - ValidationException will be removed from the API
>>
>> With that, we plan to submit a PR release to JCP early next week.
>>
>> Please let us know if you see any issues with the plan.
>>
>> Thank you,
>> Marek
>>
>
>