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

15. Bean Validation

Michael Müller1 
(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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.