Tuesday, November 16, 2010

Hibernate Validator

Validating data is a common task that occurs throughout any application, from the presentation layer to the persistence layer. Often the same validation logic is implemented in each layer, proving time consuming and error-prone. To avoid duplication of these validations in each layer, developers often bundle validation logic directly into the domain model, cluttering domain classes with validation code which is really metadata about the class itself


http://docs.jboss.org/hibernate/stable/validator/reference/en-US/html_single/

0 comments: