commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Bell" <>
Subject RE: Commons Validator and Annotations
Date Wed, 02 Jan 2008 21:13:56 GMT
We want to use the client-side validation aspect of Commons Validator.  We're using it in other
webapps, but in our newest endeavor, we'd like to centralize the config info.


-----Original Message-----
From: on behalf of Ben Speakmon
Sent: Wed 1/2/2008 4:12 PM
To: Jakarta Commons Users List
Subject: Re: Commons Validator and Annotations
If you already have annotations at your hibernate layer to do validation,
why do you want to do it again somewhere else? Or are you talking about
validating different data than what gets stuffed into hibernate?

On Jan 2, 2008 12:40 PM, Jason Bell <> wrote:

> Greetings,
> I'm looking to skip the xml configuration of validation and instead read
> the rules from annotations.  We're using hibernate objects throughout the
> app, even for the form.  And we're using annotations to configure all of the
> hibernate goodness.  So, we'd like to just go ahead and use these
> annotations to build our validation - maxlengths, number formats, required,
> etc.  Has anyone out there done this (or know of an open source project that
> has)?
> Thanks!
> Jason

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message