Is there an implementation of JSR-303 (bean validation) available?

I know there are non-standard frameworks such as commons-validator, and hibernate validator.

I wanted to know if someone knows an implementation of the official standard.


Solution 1:

There are 2 compliant implementations now:

  • Apache Bean Validation (formerly agimatec)
  • Hibernate Validator

You can access a benchmark and a quick description of both here: http://carinae.net/2010/06/benchmarking-hibernate-validator-and-apache-beanvalidation-the-two-jsr-303-implementations/

Solution 2:

Hibernate Validator is the reference implementation of JSR-303

Solution 3:

Implementations:

  • agimatec-validation
  • Hibernate Validator

Solution 4:

OVaL is not a JSR-303 validator, but it can convert jsr303 constraints into its own.