|
JSF ensures that applications are well
designed with greater maintainability by integrating the well
established Model-View-Controller (MVC) design pattern into its
architecture. So it clearly
separates behavior (Model) and presentation of data (View) in
an application. UI components represent View (Typically in JSP),
managed beans represent Model and FacesServlet is the Controller
in the JSF framework. All the requests are handled by this controller. Any
request passes through and examined by FacesServlet that calls various
actions on the model (managed beans). The separation of behavior and
presentation enables a wide range of users Page authors( web-page
designers), Application developers, Component writers, Application
architects , Tool vendors and allows members of team to
focus on their own work only , resulting in division of labor and shorter
development cycle.
|
|