File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSF and the fly likes Struts or JSF Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Struts or JSF" Watch "Struts or JSF" New topic

Struts or JSF

Marko Debac
Ranch Hand

Joined: Aug 21, 2006
Posts: 121

I have learned servlets&JSP, and now I want to learn some framework, so
which is better to start with, Struts or JSF? and, witch one has better usefullnes, and is it large diferences between them?

Is there something more powerfull then Struts or JSF?

Marko Debac
Ranch Hand

Joined: Aug 21, 2006
Posts: 121
sorry on duplicate topic, some eror has ocured when I was sending first, so I have clicked twice
Ryan Day
Ranch Hand

Joined: Apr 03, 2006
Posts: 87
I'm a newbie on this topic, but have similar questions. What about another option- using them together?

Here's an interesting article about this, I would be interested to hear what others think:

Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63548

Or neither!

[Asking smart questions] [About Bear] [Books by Bear]
Jeroen Oosterlaar

Joined: Feb 11, 2007
Posts: 12
I am not sure, but I believe I have read somewhere that JSF will replace Struts eventually, partly because JSF has become an official component of Sun's standard J2EE libraries. If that is true, it would be better to focus on JSF instead of Struts.
[ February 14, 2007: Message edited by: Jeroen Oosterlaar ]
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17276

My own gut feeling is that Struts is more capable of "heavy lifting" than JSF is. However, I've yet to tackle a webapp where I felt JSF wasn't making the grade.

I've worked with Struts, and even published one of the early magazine articles on Struts. Given a choice these days, however, I prefer JSF. Struts done cleanly requires too many class definitions per discrete work function.

I do feel obligated to mention that Struts and JSF are quite capable of co-residing peacefully in the same webapp if there's need, whether the need is just a gradual phaseover or cases where one or the other frameworks is especially well-suited to a given request.

An IDE is no substitute for an Intelligent Developer.
I agree. Here's the link:
subject: Struts or JSF
It's not a secret anymore!