users@jersey.java.net

Re: [Jersey] Check syntax of query/form parameters?

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Fri, 29 Jan 2010 09:16:42 +0100

On Jan 28, 2010, at 8:06 PM, Tatu Saloranta wrote:

> 2010/1/28 Felipe Gaścho <fgaucho_at_gmail.com>:
>> you can also use the new Bean Validation of Java EE 6:
>>
>> http://java.sun.com/javaee/6/docs/tutorial/doc/gircz.html
>
> I would second this option: I have used it succesfully, and in my
> opinion it complements JAX-RS nicely.
> It covers most cookie-cutter checks nicely, is extensible (can define
> your own validators, plug-in via annotations), and is very simple to
> use.
>

Do you have any publicly available examples or code you can point to
in this respect?

Although i should update the Jersey user guide with a lot more stuff a
little chapter around JAX-RS and Bean Validation would be useful for
developers.

Paul.