Generic JavaBeans Validation: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 6: | Line 6: | ||
=Overview= | =Overview= | ||
This article documents an executable Java example that shows how to use JavaBeans Validation annotations to externalize validation logic to a JavaBeans validation provider. | This article documents an executable Java example that shows how to use JavaBeans Validation annotations to externalize validation logic to a JavaBeans [[Bean_Validation#Validation_Provider|validation provider]]. | ||
This example depends on Spring Boot only because we use Spring Boot's machinery to pull starter dependencies, and get our runtime running: | This example depends on Spring Boot only because we use Spring Boot's machinery to pull starter dependencies, and get our runtime running: |
Revision as of 01:21, 16 October 2018
Internal
Overview
This article documents an executable Java example that shows how to use JavaBeans Validation annotations to externalize validation logic to a JavaBeans validation provider.
This example depends on Spring Boot only because we use Spring Boot's machinery to pull starter dependencies, and get our runtime running:
dependencies {
implementation('org.springframework.boot:spring-boot-starter-validation')
}