• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Struts or JSF

 
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Bert,
sorry on duplicate topic, some eror has ocured when I was sending first, so I have clicked twice
 
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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/
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Or neither!
 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Saloon Keeper
Posts: 27752
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic