An open API service indexing awesome lists of open source software.

https://github.com/ghusta/bean-validation-test

Sample project for testing Bean Validation 1.0 (JSR 303) & BV 1.1 (JSR 349) & BV 2.0 (JSR 380)
https://github.com/ghusta/bean-validation-test

bean-validation java

Last synced: about 1 month ago
JSON representation

Sample project for testing Bean Validation 1.0 (JSR 303) & BV 1.1 (JSR 349) & BV 2.0 (JSR 380)

Awesome Lists containing this project

README

        

= bean-validation-test

image::https://github.com/ghusta/bean-validation-test/actions/workflows/maven.yml/badge.svg[link="https://github.com/ghusta/bean-validation-test/actions/workflows/maven.yml"]

Sample project for testing Bean Validation 1.0 (JSR 303), Bean Validation 1.1 (JSR 349) & Bean Validation 2.0 (JSR 380).

== API Documentation

=== beanvalidation.org

* https://beanvalidation.org/1.0/[Bean Validation 1.0] (https://jcp.org/en/jsr/detail?id=303[JSR 303])
* https://beanvalidation.org/1.1/[Bean Validation 1.1] (https://jcp.org/en/jsr/detail?id=349[JSR 349])
* https://beanvalidation.org/2.0/[Bean Validation 2.0] (https://jcp.org/en/jsr/detail?id=380[JSR 380])
* https://jakarta.ee/specifications/bean-validation/3.0/[Jakarta Bean Validation 3.0]
* _https://beanvalidation.org/latest-draft/spec/[Bean Validation latest draft]_

NOTE: New source repository has moved under : https://github.com/eclipse-ee4j/beanvalidation-api.
The new Maven coordinates will be : `jakarta.validation:jakarta.validation-api` (as of 2.0.1).

=== Bean Validation 1.0 in Java EE 6

* https://docs.oracle.com/javaee/6/tutorial/doc/gircz.html[Using Bean Validation]

=== Bean Validation 1.1 in Java EE 7

* https://docs.oracle.com/javaee/7/tutorial/partbeanvalidation.htm[Bean Validation]
** https://docs.oracle.com/javaee/7/tutorial/bean-validation.htm[Introduction to Bean Validation]
*** https://docs.oracle.com/javaee/7/tutorial/bean-validation001.htm[Using Bean Validation Constraints]
*** etc.
** https://docs.oracle.com/javaee/7/tutorial/bean-validation-advanced.htm[Bean Validation: Advanced Topics]
*** https://docs.oracle.com/javaee/7/tutorial/bean-validation-advanced001.htm[Creating Custom Constraints]
*** etc.

=== Jakarta Bean Validation 2.0 in Jakarta EE 8

* https://eclipse-ee4j.github.io/jakartaee-tutorial/#jakarta-bean-validation[Bean Validation]

=== Jakarta Bean Validation 3.0 in Jakarta EE 9

* https://eclipse-ee4j.github.io/jakartaee-tutorial/#jakarta-bean-validation[Bean Validation]

=== Hibernate Validator Documentation

From latest stable version :

* https://docs.jboss.org/hibernate/stable/validator/reference/en-US/html_single/[Reference Implementation: Reference Guide]

From 7.0 version :

* https://docs.jboss.org/hibernate/validator/7.0/reference/en-US/html_single/[Reference Implementation: Reference Guide]

From 6.0 version :

* https://docs.jboss.org/hibernate/validator/6.0/reference/en-US/html_single/[JSR 380 Reference Implementation: Reference Guide]

From 5.4 version :

* https://docs.jboss.org/hibernate/validator/5.4/reference/en-US/html_single/[JSR 380 Reference Implementation: Reference Guide]
* Constraint `@Currency` added, for use with JSR-354 http://java.net/projects/javamoney[(Money and Currency API)] (Java 7 (backport) or 8)

From 5.3 version :

* https://docs.jboss.org/hibernate/validator/5.3/reference/en-US/html_single/[JSR 349 Reference Implementation – Reference Guide]
* https://docs.jboss.org/hibernate/validator/5.3/reference/en-US/html_single/#validator-annotation-processor[Chapter 12. Annotation Processor]

From 5.2 version :

* https://docs.jboss.org/hibernate/validator/5.2/reference/en-US/html/[JSR 349 Reference Implementation – Reference Guide]
* https://docs.jboss.org/hibernate/validator/5.2/reference/en-US/html/ch01.html[Chapter 1. Getting started]
* Section 1.4. http://docs.jboss.org/hibernate/validator/5.2/reference/en-US/html/ch01.html#_java_8_support[Java 8 support]
* …

From 5.0 version :

* https://docs.jboss.org/hibernate/validator/5.0/reference/en-US/html/[JSR 349 Reference Implementation – Reference Guide]
* https://docs.jboss.org/hibernate/validator/5.0/reference/en-US/html/validator-gettingstarted.html[Chapter 1. Getting started]
* https://docs.jboss.org/hibernate/validator/5.0/reference/en-US/html/chapter-bean-constraints.html[Chapter 2. Declaring and validating bean constraints]
* https://docs.jboss.org/hibernate/validator/5.0/reference/en-US/html/chapter-method-constraints.html[Chapter 3. Declaring and validating method constraints]
* https://docs.jboss.org/hibernate/validator/5.0/reference/en-US/html/chapter-message-interpolation.html[Chapter 4. Interpolating constraint error messages] => Use Unified Expression Language - http://jcp.org/en/jsr/detail?id=341[JSR-341]
* https://docs.jboss.org/hibernate/validator/5.0/reference/en-US/html/chapter-groups.html[Chapter 5. Grouping constraints]
* etc.

From 4.3 version :

* https://docs.jboss.org/hibernate/validator/4.3/reference/en-US/html/[JSR 303 Reference Implementation – Reference Guide]
* https://docs.jboss.org/hibernate/validator/4.3/reference/en-US/html/validator-gettingstarted.html[Chapter 1. Getting started]
* https://docs.jboss.org/hibernate/validator/4.3/reference/en-US/html/validator-usingvalidator.html[Chapter 2. Validation step by step]
* https://docs.jboss.org/hibernate/validator/4.3/reference/en-US/html/validator-customconstraints.html[Chapter 3. Creating custom constraints]
* https://docs.jboss.org/hibernate/validator/4.3/reference/en-US/html/validator-xmlconfiguration.html[Chapter 4. XML configuration]
* etc.