File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » JSF
Bookmark "JSF & struts" Watch "JSF & struts" New topic

JSF & struts

Sherif Shehab
Ranch Hand

Joined: Mar 05, 2007
Posts: 484

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: 484

Thanks for your reply.. is there no differences in the functionality ?
I agree. Here's the link:
subject: JSF & struts
It's not a secret anymore!