cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Beryozkin (JIRA)" <>
Subject [jira] [Commented] (CXF-5309) Support Bean Validation API for JAX-RS
Date Tue, 08 Oct 2013 12:18:45 GMT


Sergey Beryozkin commented on CXF-5309:

Hi Andriy, thanks for checking it. 

I think we'd probably need to introduce another module eventually, say, cxf-rt-rs-bean-validator,
however for now lets start with adding a package like "org.apache.cxf.jaxrs.validation" to
the existing cxf-rt-frontend-jaxrs module and do the integration code there.  

Perhaps you can consider doing a sequence of patches given that the whole effort may take
some time. For example, how about supporting the very basic example first with say @NonNull
annotations attached to JAX-RS method parameters ? Next I can contribute from my end a basic
JAX-RS ExceptionMapper implementation which catches validation exceptions as per JAX-RS 2.0
chapter 7 and we will have BeanValidation POC done :-)

At the next stage, we can push some of the common code to CXF core module so that JAX-WS frontend
can also get the bean validation supported. 
Thanks for looking into it, cheers.

> Support Bean Validation API for JAX-RS
> --------------------------------------
>                 Key: CXF-5309
>                 URL:
>             Project: CXF
>          Issue Type: Sub-task
>          Components: JAX-RS, JAX-WS Runtime
>            Reporter: Sergey Beryozkin

This message was sent by Atlassian JIRA

View raw message