What are the different phases in the life cycle of JSF?
Answered
What are the different phases in the life cycle of JSF?
Best answer
The lifecycle of a JavaServer Faces application begins when the client makes an HTTP request for a page and ends when the server responds with the page, translated to HTML.
The lifecycle can be divided into two main phases, execute and render. The execute phase is further divided into sub phases to support the sophisticated component tree. The JavaServer Faces application lifecycle execute phase contains the following sub phases:
- Restore View Phase
- Apply Request Values Phase
- Process Validations Phase
- Update Model Values Phase
- Invoke Application Phase
- Render Response Phase