Skip to main content


Showing posts from October, 2017

Bean Validation (JSR 303) using Hibernate Validator in Spring Boot

Bean Validation Bean validation has always been a tremendous effort in Java based Enterprise application development. Java Bean Validation (JSR 303) is the framework that defines how Java Beans should be validated. There are few validator APIs that support JSR 303. Hibernate validator is the most popular among them. It helps validate Java Beans using annotation and the beans can be validated at presentation layer, service and data access layer. Hibernate validator also offers custom validation, cross field validations. You can checkout the latest hibernate validator documentation for built-in validator annotations. Assumption       :  Spring Boot  (1.5.6) ,   Hibernate Validator ( 5.4.1.Final ),  Maven Projects Integrating Spring Boot & Hibernate Validator Spring Boot offers built-in starter dependency management for most of the frameworks and APIs available in Java Application Development. It has support for bean validation using hibernate validator API. The discussion fo