JSF Control Flow
843844Feb 26 2007 — edited Feb 27 2007Hi
Newbie to JSF, I have two questions..
1) What is thehe control flow in an application using JSF - just JSF or JSF plus Struts. Basically I want to know when and where the business logic will be called and where the servlet API come into picture.
For example in a struts application it is more or less Browser -> Struts Controller(Servlet) -> Action -> Business Logic(Service Layer) -> Data Access Layer -> Data
How will the above be in JSF? JSF is said to hide the use of Servlet API from the developer. If that is the case, does it mean that the business logic components get called from the JSF Framework's UI components. Where does the Servlet come into picture in the flow..?
2) Is JSF a good choice if the server side is to support a rich Java client as well as a browser client?
Thanks in advance!