JSF Central - FAQ
JSF Central

 
 Home 
 
 Products 
 
 Articles & Books 
 
 Resources 
FAQ > JavaServer Faces and web application frameworks
Will JSF replace Struts?
Updated: November 12, 2003

Since JSF is focused on user interface components and the view layer, it overlaps with Struts' functionality but doesn't replace it. For existing and future projects, you can either use Struts and JSF together, use only Struts (especially if you already have a mature application), or use JSF by itself. Struts has quite a few features, like Tiles, the Validator framework, application modules, and so on, that make it quite compelling. However, for simpler applications, JSF has enough support for controllers and navigation to make it quite useful by itself. In general, JSF alone is suitable for smaller applications. For more complicated applications, it may make sense to use JSF with a more powerful back-end framework, like Struts. If you're maintaining an existing project, you have a choice of either integrating with JSF (which is logical if you have a lot of GUI components), or just sticking with Struts. Craig McClanahan recently published a presentation on this topic.


RSS feed(all feeds)
RSS feed(JavaServer Faces and web application frameworks)

The Editor's Desk
Podcasts
Inside Facelets
In the Trenches

Site version 1.83  Report web site problems

Copyright (C) 2003-2015 Virtua, Inc. All Rights Reserved. Java, JavaServer Faces, and all Java-based marks are trademarks or registered trademarks of Oracle Corporation. in the United States and other countries. Virtua, Inc. is independent of Oracle Corporation. All other trademarks are the sole property of their respective owners.