Java Bean Validation
Overview Data validation is a crucial process in software development. Invalid data may easily break the application. So, ideally, the input data should be validated as soon as possible and handled in a corresponding way. Since data validation is one of the most common programming logic, it makes sense to find a way to reduce code duplication. Bean Validation 2.0, defined by JSR 380, is a specification of the Java API for bean validation. It defines a way to validate…