point
The Smart Techie was renamed Siliconindia India Edition starting Feb 2012 to continue the nearly two decade track record of excellence of our US edition.

Web Frameworks: Struts Vs JSF

Loganathan Natarajan
Wednesday, January 2, 2008
Loganathan Natarajan
Introduction
What is the future of your web framework? Does your framework support Web 2.0? Is it AJAX enabled? It is tricky to choose the framework for developing applications in J2EE technologies. There are lots of web frameworks available in Java to develop any type of sites, portals, applications, projects, products and software. Often, I’ve wondered which one could be the best framework to work with. Whether it is a small or large project, use the framework. Struts and JSF (Java Server Faces) are popular web application frameworks used to develop enterprise applications in Java today. I have also been developing some applications with these web frameworks. Let us discuss some points to get an idea about Struts versus JSF.

There may be a lot of actual development points to compare Struts over JSF in order to overcome or replace the features existing in these frameworks. Also, it is not enough to compare all the issues here. Of course, you may find more hot discussions on the internet. I share some of the comparisons between both the frameworks from my own developmental experience with them.

Struts Vs JSF: Framework scope
I have quite worked with Struts for medium level applications and with JSF for small level projects. Both provide the technology to develop model 2 based web applications. Struts is MVC (Model-View-Controller) driven, has a collection of utilities, tag libraries, xml based configuration files, validations and internationalization. However, JSF provides rich user interfaces and UI components that contain lots of APIs. The components’ states are maintained well to perform the actions to develop applications. Let us see the benefits of both the frameworks now.

Benefits of Struts
First, Struts is entirely an open source. It offers help to develop larger and complex Java web applications. It is a mature and robust framework for building web applications based on the MVC design pattern. It has a lot of support and helps forums in resolving any issues during development.

Share on Twitter
Share on LinkedIn
Share on facebook