In this podcast, we speak to JBoss’s Emmanuel Bernard on the future of validation using JSR-303, the Bean Validation framework. JSR-303 aims to provide an annotation-driven mechanism to mark plain old java beans with annotations, such as @NotNull, @Min, @Max, and can support custom validation annotations as well.
JSR-303 is part of the Java EE 6 suite of JSRs and will be used automatically out of the box by frameworks such as JSF 2.0. Emmanuel also goes into some detail about the current state of Hibernate Search. Useful links:
- Hibernate Validator (4.0.0, which is currently in alpha 3, is the reference implementation of JSR-303).
- The Bean Validation RI RoadMap, which contains a link to useful resources such as the updated JSR (more up-to-date here than on the JSR page itself).
- Emmanuel’s Hibernate Search in Action, published by Manning, and co-authored with John Griffin.
- Hibernate Search Project Homepage
- JSF 2.0 and JPA 2.0 project homepages
- Emmanuel Bernard’s blog, No Relation To.