Difference between lifecycle of JSF and Facelets application?


JSF


Asked on January 21, 2015
Hi All,

Can anyone explain clearly what is difference between lifecycle of JSF and Facelets application?

Thanks



Replied on January 21, 2015
JSF Lifecycle

JSF lifecyclle is handling incoming request, decoding parameter, modifying and saving state and rendering webpage to the browser.
http://docs.oracle.com/javaee/6/tutorial/doc/bnaqq.html#glprc

Facelets Lifecycle

For new  incoming request javax.faces.component.UIViewRoot is created and placed in FacesContext
UIViewRoot  is applied to Facelets. The new built view is rendered back to the client.

http://docs.oracle.com/javaee/6/tutorial/doc/giprr.html





Write Answer










©2024 concretepage.com | Privacy Policy | Contact Us