Here we have collected some Bean Validation samples from our project, other projects at Apache, and other external projects that use a ASL 2.0 friendly license. Enjoy!
The Apache OpenJPA community has created a Bean Validation Primer section showing how JPA2 and Bean Validation can be used. Currently, this includes an image-gallery sample which must be built from source.
Additional JPA2 and Bean Validation integration tests can be found under the openjpa-integration-validation component in the OpenJPA source tree.
The Apache Geronimo community is working on a 3.0 release to deliver a Java EE 6 application server, which will include Apache BVal. For now, no samples have been created for Bean Validation, but keep checking the latest Geronimo Samples source tree....
The Apache MyFaces Core project implements the JSF 2.0 specification, which includes support for using Bean Validation. Please check back later for updated samples....