![]() ![]() This structure requires that component data be converted and validated, component events be handled, and component data be propagated to beans in an orderly fashion.Ī JavaServer Faces page is represented by a tree of components, called a view. The Execute phase is further divided into subphases to support the sophisticated component tree. The lifecycle can be divided into two main phases: Execute and Render. 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. This section examines the JavaServer Faces lifecycle in more detail.ħ.6.1 Overview of the JavaServer Faces Lifecycle A clearer understanding of the lifecycle phases is key to creating well-designed components.Ī simplified view of the JavaServer faces lifecycle, consisting of the two main phases of a JavaServer Faces web application, is introduced in A Simple JavaServer Faces Application. For example, Ajax applications use partial processing features of the lifecycle (see Partial Processing and Partial Rendering). JavaServer Faces applications that use advanced features may require interaction with the lifecycle at certain phases. The JavaServer Faces web application framework manages lifecycle phases automatically for simple applications or allows you to manage them manually for more complex applications as required. ![]() During a web application lifecycle, common tasks are performed, including the following. ![]() The lifecycle of an application refers to the various stages of processing of that application, from its initiation to its conclusion. 7.6 The Lifecycle of a JavaServer Faces Application ![]()
0 Comments
Leave a Reply. |