Picture/article which describes JSF lifecycle in detail

*爱你&永不变心* 提交于 2019-12-11 04:15:12

问题


I've already seen some examples, like the one below:


(source: javaworld.com)

That's nice description in theory, but I'd like to see also more JSF-related picture, with FacesServlet, PhaseListeners and other stuff to understand their role and sequence of calls in all these phases of lifecycle.


回答1:


You can find here several: "jsf lifecycle" at images.google.com.

Not a picture, but a complete self-practice example with detailed explanations what exactly happens during every phase can be found here: Debug JSF lifecycle. You (at least, many do) may find it more useful than just a picture.

In the book The Definitive Guide to JSF in Java EE 8, in chapter 3 "Components", page 56, the below diagram is used to summarize all aspects of the JSF lifecycle during a postback request. The numbers are in order. The book itself explains every step in detail. Copyright disclaimer: book is written by me and picture is created by me.

See also:

  • What components are MVC in JSF MVC framework?



回答2:


Maybe you could check the Life Cycle of a JavaServer Faces Page tutorial from Java Sun. The tutorial has an life cycle image and some sections that explains some details of JSF.




回答3:


A little bit of google-fu turned up this JSF story-board. About 2/3rds down the page is a sequence diagram which breaks down the lifecycle phases, their operations, and the different components that actually perform them.

HTH.



来源:https://stackoverflow.com/questions/1958568/picture-article-which-describes-jsf-lifecycle-in-detail

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!