Introduction
The Bean Validation supports user input, or domain objects validation:
- Lets you express constraints on object models via annotations
- There are built-in constraints
- You can write custom constraints in an extensible way
- Provides the APIs to validate objects and object graphs
- Provides the APIs to validate parameters and return values of methods and constructors
- Reports the set of violations (localized)
- Runs in Java SE
- Integrated with Spring Framework (Spring provides Bean Validation provider)
- Hibernate Validator is reference implementation of JSR380
- Refer Spring documentation pages for more info