I'm building my first
JSF web app, and I'm trying to get my hands around my architecture. The purpose of the web app is basically to update and display information from my database - nothing fancy.
The model consists of MySQL tables mapped to business objects (POJOs) through Hibernate. Then there are business service classes that receive a contract, validate it, then perform inserts, updates, or selects using the Hibernate session. The services generally return a business object, or List of business objects.
If I were using
Struts, I would interact with these business services within the action classes.
Q: What are the pieces necessary to tie these services to the JSF
servlet (controller) and JSF/JSP (view)? I think it has something to do with backing beans, but I'm not sure exactly where those fit.
I have been reading some good JSF resources, but they are a little fuzzy in this area.
[ March 14, 2008: Message edited by: Ryan Day ]