DEVFYI - Developer Resource - FYI

What is life cycle (JavaServer Faces)

J2EE Interview Questions and Answers (Part 2)


(Continued from previous question...)

187. What is life cycle (JavaServer Faces)

A set of phases during which a request for a page is received, a UI component tree representing the page is processed, and a response is produced. During the phases of the life cycle: The local data of the components is updated with the values contained in the request parameters. Events generated by the components are processed. Validators and converters registered on the components are processed. The components' local data is updated to back-end objects. The response is rendered to the client while the component state of the response is saved on the server for future requests.

(Continued on next question...)

Other Interview Questions