Click here to hide categories Click here to show left categories

User: Home          welcome : Guest          Log In / Register here     




Java Interview Questions: - Define briefly the life-cycle phases of JSF (Java Server Faces)?

Following is the brief Life-cycle phases of JSF (Java Server Faces) asked during Java interview questions.

Restore View : A request comes through the FacesServlet controller. The controller examines the request and extracts the view ID, which is determined by the name of the JSP page.

Apply request values: The purpose of the apply request values phase is for each component to retrieve its current state. The components must first be retrieved or created from the Faces Context object, followed by their values.

Process validations: In this phase, each component will have its values validated against the application's validation rules.

Update model values: In this phase JSF updates the actual values of the server-side model, by updating the properties of your backing beans.

Invoke application: In this phase the JSF controller invokes the application to handle Form submissions.

Render response: In this phase JSF displays the view with all of its components in their current state.

See the following video by using String or String Buffer performance increases asked during java Interview: -

Click for more Java interview questions

Regards,

Visit for more author’s blog on Java interview questions

Share this article   |    Print    |    Article read by 3286 times
Author:
Shivprasad Koirala
We conduct training for Java/J2EE technologies like design patterns, J2EE, Struts, Hibernate, Spring, Rich Interface etc. and likes to write articles on the same in free time.
Related Articles: No related article
Related Interview Questions: No related interview question