Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Code accompanying my presentation on Bean Validation and its best practices
Java
tag: demo-start-sta…

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
src/main
.gitignore
BeanValidationBestPractices-1.0.pdf
license.txt
pom.xml
readme.txt

readme.txt

Script
------

The beginning of the demo can be found at tag demo-start-state
The end of the demo can be found at tag demo-done-state

+ Groups
Show Order and NoDelay on Customer and Country
Show StraigntToOrderValidation on Customer

+ Write
AnnotationProcessor
  Add and Show @Min( value = 2) on Order#getCustomer => AnnotationProcessor error
Composition:
  show getOrderNumber(), replace with @OrderNumber
  show how to write OrderNumber (@OverridesAttribute)
Complex constraint:
  show @ZipCode
  finish coding it
  show how to set a customizable message (intl or properties or both)
Something went wrong with that request. Please try again.