In this video tutorial, we will learn how to validate Spring boot REST API requests using Hibernate validator.
- Important bean validations 2:15
- Validation in Spring Boot 3:40
- Spring Boot Hibernate Validator Example 4:25
- Test Validation using Postman client 23:52
In Java, the Java Bean Validation framework has become the de-facto standard for handling validations in Java projects.
JSR 380 is a specification of the Java API for bean validation and this ensures that the properties of a bean meet specific criteria, using annotations such as @NotNull, @Min, and @Max. Hibernate Validator is the reference implementation of the validation API.
Spring boot provides good integration support with Hibernate validator.
Video
Timestamps:
- Java bean validation basics 0:56- Important bean validations 2:15
- Validation in Spring Boot 3:40
- Spring Boot Hibernate Validator Example 4:25
- Test Validation using Postman client 23:52
Blog Post
GitHub link at https://github.com/RameshMF/springboot-validation
Comments
Post a Comment