JavaServer Faces
JavaServer Faces is a technology that helps you build user interfaces for dynamic Web applications that run on the server. The JavaServer Faces framework manages UI states across server requests and offers a simple model for the development of server-side events that are activated by the client. JavaServer Faces is consistent and easy to use.
The JavaServer Faces technology includes the following features:
- A set of APIs for representing and managing UI components, for handling events and input validation, and for defining page navigation.
- An extensive set of reusable user interface (UI) components.
- A JavaServer Pages (JSP) custom tag library for expressing a JavaServer Faces interface within a page.
JavaServer Faces, like JSP, is used to build form-based Web applications. JavaServer Faces is based on a model-view-controller (MVC) framework. For JavaServer Faces, this means that the controller is a servlet, the model is represented by JavaBeans, and the view comprises JavaServer Faces components with little or no application code. The goal of this model is to separate content from presentation.
Related concepts
JavaServer Faces life cycle
Criteria for choosing Struts or JavaServer Faces
Related tasks
Creating Faces applications - overview
Related reference
Faces components reference
Books about JavaServer Faces
Books about Struts