I once came across a validation framework for java, where you wrote one method that protected the integrity of the data-type and any CRUD operations on that data-type automatically called this method.
Does anyone know what this framework is?
I once came across a validation framework for java, where you wrote one method that protected the integrity of the data-type and any CRUD operations on that data-type automatically called this method.
Does anyone know what this framework is?
Thanks Guys. Sorry I have been very vague.
I simply want to avoid repetitive validation on every CRUD method attached to a data-type.
Here's a huge list of Java Validation Libraries / Frameworks - http://java-source.net/open-source/validation/commons-validator
Are you using Hibernate for persistence? If you are, there is Hibernate Validator.