wood burning stoves 2.0*
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


JavaRanch » Java Forums » Java » JSF
Bookmark "Struts or JSF" Watch "Struts or JSF" New topic
Author

Struts or JSF

Marko Debac
Ranch Hand

Joined: Aug 21, 2006
Posts: 121
Hi,

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?

Cheers,
Marko
Marko Debac
Ranch Hand

Joined: Aug 21, 2006
Posts: 121
Bert,
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:

http://www-128.ibm.com/developerworks/library/j-integrate/


SCJP, SCWCD
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61309
    
  66

Or neither!


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Jeroen Oosterlaar
Greenhorn

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: 16095
    
  21

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.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
GeeCON Prague 2014
 
subject: Struts or JSF