What are the different phases in the life cycle of JSF?

Answered

What are the different phases in the life cycle of JSF?

Ninja Asked on 19th September 2018 in JSF.
Add Comment
1 Answer(s)
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
Ninja Answered on 19th September 2018.
Add Comment