"gilboay" wrote : 1) In the JSP sample you create a Portlet class (using JSR-168 API). | | 2) In the JSF sample you use a set of JSP pages (with JSF taglibs), with no intermediary Portlet class. | | Is this the best practice, or is it just a short cut for convenincy ?
The JSP example uses dispatching to JSP for rendering fragments. JSF handles the dispatching for you, by the navigation controller that is defined in the faces-config.xml. The advantage to JSF is that it provides a framework to build portlets with. For simple (2-3 page) applications, I would hack together with JSP. For applications that need flow control, validation, conversion, custom components, then I would use JSF. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956017#3956017 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956017 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user