What's New in Bean Validation 2.0 - Java 8 Support and More
summary
Bean Validation 2.0 (JSR 380) requires Java 8 and adds method-parameter and return-value validation, new built-in constraints (including Email), temporal checks for Java 8 date/time types, and support for Optional and JavaFX properties. It introduces Java 8 type-use annotations to apply constraints to collection elements and map keys, a value-extractor API for validating custom container types, and demonstrates a REST app using Hibernate Validator 6 that returns HTTP 400 on invalid input and exposes constraint metadata to clients; JSR 380 received final approval.
AI-written summary · about
chapters (4)
related talks
45mBean Validation 2 0
14mBean Validation 2.0 - you’ve put your annotations everywhere!
46mJava EE 8: What’s New in the Java EE 8 Release
50mJava EE 8 - What's coming?
50mJava EE 8: What's New in the Java EE 8 Release
43mJava EE 8
50m10+ new features you ought to know using Java 8
53mJava EE 8 and the Open Future of Java EE - What You Need to Know!
