Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

JSF Control Flow

843844Feb 26 2007 — edited Feb 27 2007
Hi

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!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 27 2007
Added on Feb 26 2007
1 comment
129 views