This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes JSF and the fly likes JSF & struts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "JSF & struts" Watch "JSF & struts" New topic

JSF & struts

Sherif Shehab
Ranch Hand

Joined: Mar 05, 2007
Posts: 483

Hi all ,

what are the differences between JSF & struts ??

Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper

Joined: Aug 26, 2006
Posts: 4968

They are both application frameworks that provide much of the plumbing that any J2EE application (Servlet/JSP?) needs, such as i18n, i10n, error handling, input validation, etc. They also both provide a good MVC architecture.

The big difference? Struts is Apache, open sourced based, while JSF is backed by Sun. Usually being backed by a vendor may be seen as a drawback, but being Java and Sun, it's a pretty compelling backing. Plus, big vendors like IBM seem to really be endorsing JSF. Struts has been around a bit longer I believe, but JSF seems to have more momentum.

They are both application frameworks that solve a common set or problems. The biggest difference is their roots.

If you go the JSF route, take a look at Seam. It's pretty solid.

-Cameron McKenzie
Sherif Shehab
Ranch Hand

Joined: Mar 05, 2007
Posts: 483

Thanks for your reply.. is there no differences in the functionality ?
It is sorta covered in the JavaRanch Style Guide.
subject: JSF & struts