So far, during web development, I have been using Servlets/JSP directory. However, as the complexity increases, using framework is very much required. I know Struts and Titles have been very popular. I have tried creating few web sites and it is very powerful. However, Java Server Faces (JSF) is picking up speed as IDEs are trying to provide RAD tools.
I am having tough time deciding between JSF and Struts. Struts creator has also endorsed JFC. MyFaces implementation of JSF is providing 'Tiles' integration as well. From long-terms perspective, my gut instincts says, I should go with JSF framework for new development?
I could take Hybrid approach but then it will too much become confusing.
Do you all have any opinion or recommendation on these framework?
-Surendra Kashyap<br />SCJP, SCJD, SCWCD, SCBCD and MCSE
I would not go with a hybrid approach. Craig McClanahan discourages starting a project with both (see his latest tech talk at theserverside.com). The hybrid is good for transitioning from one framework to the other but having to know/learn both frameworks and their quirks are not worth it. You might know them both but think of the poor guys who have to maintain your code for years to come.
I really like both Struts and JSF but if I were ever given the full authority to pick one or the other I would choose JSF. The arguments for using JSF over Struts should only increase with time, especially with it becoming a part of JavaEE 5.