• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts or JSF

 
Marko Debac
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 121
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bert,
sorry on duplicate topic, some eror has ocured when I was sending first, so I have clicked twice
 
Ryan Day
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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/
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64959
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Or neither!
 
Jeroen Oosterlaar
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 18212
53
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic