users@jax-rs-spec.java.net

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

From: Markus KARG <markus_at_headcrashing.eu>
Date: Thu, 20 Sep 2012 19:27:22 +0200

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

> -----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
>