© Bauke Scholtz, Arjan Tijms 2018
Bauke Scholtz and Arjan TijmsThe Definitive Guide to JSF in Java EE 8https://doi.org/10.1007/978-1-4842-3387-0_5

5. Conversion and Validation

Bauke Scholtz1  and Arjan Tijms2
(1)
Willemstad, Curaçao
(2)
Amsterdam, Noord-Holland, The Netherlands
 

At its core, JSF (JavaServer Faces) as an HTML form-based MVC (Model-View-Controller) framework basically needs to convert between Java objects (entities, beans, value objects, data transfer objects, and what not) and character sequences (strings) all the time. The HTTP request is basically broken down into plain vanilla strings representing headers and parameters, not as Java objects. The HTTP response is basically written as one big sequence of characters representing HTML ...

Get The Definitive Guide to JSF in Java EE 8: Building Web Applications with JavaServer Faces 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.