Monday, August 10, 2009

Bookmark and Share

My second article in Java Magazin is out! It's named "Objekt: Zur Prüfung bitte!" and covers the upcoming Java standard for object validation, the Bean Validation API (JSR 303).

Using a simple web shop as example, the article starts with explaining Bean Validation basics (retrieving a Validator, using its methods for validating entire beans or single properties), followed by more detail information on validation groups and group sequences.

Next it is shown how to write a custom constraint annotation and its validation routine, followed by explaining the concept of constraint composition. Finally it is analyzed, how the Bean Validation API integrates with other standards such as JPA 2.0.

So get your copy of Java Magazin 09/2009 and let me know, how you like the article.

No comments: