users@jersey.java.net

Re: [Jersey] validation???

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Tue, 12 May 2009 10:43:11 +0200

Hi Keith,

There is no validation framework provided by Jersey.

Some developers are using the Bean Validation Framework. See the
following thread:

http://markmail.org/search/?q=list%3Anet.java.dev.jersey.users+validation#query
:list%3Anet.java.dev.jersey.users%20validation%20order%3Adate-backward
+page:1+mid:3qhjvhnozilsuzmn+state:results

IIRC other developers may be using some AOP-based solutions to
validate resource method parameters.

Hope this helps,
Paul.

On May 12, 2009, at 12:38 AM, Treague, Keith wrote:

> Is there any support in jersey for validating incoming data? I’d
> prefer this sort of thing to be handled by the framework like Spring
> MVC or even Struts 2 however I’m not seeing any integrated
> validation framework in Jersey.
>
> Keith Treague