Java Programming Tutorials

Java programming tutorials with many code examples!

Bean Validation Tutorial

Bean Validation Tutorial will guide you through standard validation specification for Java. You will learn how to define constraints on beans, test them, create custom constraints, and many more. All topics covered with practical examples.

Bean Validation is:

  • API specification (JSR-303 – 1.0, JSR-349 – 1.1)
  • Part of Java Enterprise Edition
  • Can be used in Java SE
  • defined in javax.validation package
  • Has two implementations: Hibernate Validator (reference implementation), and Apache BVal.

Bean Validation Tutorial

References:

Share with the World!