© Michael Müller 2018

Michael Müller, Practical JSF in Java EE 8 , https://doi.org/10.1007/978-1-4842-3030-5_15

15. Bean Validation

Michael Müller

(1)Brühl, Nordrhein-Westfalen, Germany

As I’ve pointed out, Books is an application that’s maintained by just one author, who should know about the expected data. So there’s no user interface that gives an immediate response after each input or that offers lots of hints. Of course, those features are essential for an application intended for potentially unknown users. Later on, when developing a second application called Alumni , I’ll cover those features in detail. Right now, validation will be useful in preventing a user from entering data that might not fit the database.

Remember the JSF lifecycle ...

Get Practical JSF in Java EE 8 : Web Applications ​in Java for the Enterprise now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.