Thursday, June 1, 2017

Using Java Bean Validation for Method Parameters and Return Values

Table of Contents Validating Method Arguments Validating Method Return Values Validating Constructor Arguments Automatic Validation with Java EE Interceptors Summary Comments Java’s static type system is a robust mechanism that lets you specify a method’s preconditions and postconditions (from the caller’s perspective: what to supply and what to expect) with the compiler assuring that these […]

Continue reading %Using Java Bean Validation for Method Parameters and Return Values%


by Alejandro Gervasio via SitePoint

No comments:

Post a Comment