Hi,
I think you should look at Hibernate Validator. Constraints are defined by annotations like in the example on the online doc -
http://www.hibernate.org/hib_docs/validator/reference/en/html_single/#d0e319. Get the latest release, add the jars to your classpath, annotate your domain model with constraints and call ClassValidator. As easy as that.
There is also soon a reference implementation of JSR 303 available which will replace Hibernate Validator. However, we are planning to offer some sort of transparent bridging for people using Hibernate Validator.
--Hardy