now im little confused...

i have started studying design patterns little before jsf and at first glance i thought that considering MVC: view is jsp page, controler is backing bean and model is pure data bean (with no business logic)

now, after somme more studying i concluded that:
view is jsp page AND backing bean


but Rick says in his article that:
view is only jsp page, controler is backing bean and model has business logic



could somme guru explain relation between mvc and jsf framwework?


Rick Hightower does this in his "Clearing the FUD about JSF" http://www-128.ibm.com/developerworks/java/library/j-jsf1/

He has the XyzBeand and XyzController with the controller containing:

XyzBean xyzBean = new XyzBean();

and then supporting the methods etc. via xyzBean.method() calls. His Controller is your Action.

See his extremely fine articles for more details.

-david-




Reply via email to