May 2018
Intermediate to advanced
471 pages
10h 25m
English
Before JSF transfers data into the model, the raw data has to be converted and validated. A short overview of bean validation was given in Chapter 15. As stated there, JSF offers its own validation specification besides bean validation. Although bean validation is the newer technique, it’s not a replacement for the older JSF validation—sometimes it’s very handy to use this “old” validation.
This chapter covers different kinds of validation.
Bean validation uses special constraints that are applied to the fields or accessors by annotations. Some of these ...
Read now
Unlock full access