users@jersey.java.net

[Jersey] Re: Best way to validate request objects in jersey?

From: Tatu Saloranta <tsaloranta_at_gmail.com>
Date: Wed, 31 Oct 2012 10:33:32 -0700

On Wed, Oct 31, 2012 at 10:27 AM, ram <sriram.n83_at_gmail.com> wrote:
>
> I am using jersey servlet with JAXB pojo mapping feature. Jersey does some
> validation of types but I need to do more on the values. Are there any APIs
> or recommended ways to validate request objects? Thanks

Bean Validation API, JSR-303. Hibernate implementation is nice.
And DropWizard (which builds on Jersey) can further automate this, quite nicely.

-+ Tatu +-