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

3. JavaServer Faces

Michael Müller1 
(1)
Brühl, Nordrhein-Westfalen, Germany
 

Whereas JavaServer Pages (JSP) is used to define pages, which are compiled to servlets, JavaServer Faces (JSF) is a complete web MVC (Model-View-Controller) framework. Interestingly, it is implemented as a servlet itself.

Here is a short excerpt of the specification:
  • Makes it easy to construct a UI from a set of reusable UI components

  • Simplifies migration of application data to and from the UI

  • Helps manage UI state across server requests

  • Provides a simple model for wiring client-generated events to server-side application code

  • Allows custom UI components to be easily built ...

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.