Validating Container Elements with Bean Validation 2.0 1. Overview The 2.0 Version of the Java Bean Validation specification adds several new features, among which is the possibility to validate elements of containers. This new functionality takes advantage of type annotations introduced in Java 8. Therefore it requires Java version 8… Continue Reading bean-validation-container-elements

Difference Between @NotNull, @NotEmpty, and @NotBlank Constraints in Bean Validation 1. Overview Bean Validation is a standard validation specification that allows us to easily validate domain objects by using a set of constraints declared in the form of annotations. While overall, the use of bean validation implementations such as Hibernate Validator… Continue Reading java-bean-validation-not-null-empty-blank