• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSF and Struts

 
Ronald Depew
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can JSF coexist with Stuts, or is it a replacement of the Struts framework?
 
Gregg Bolinger
GenRocket Founder
Ranch Hand
Posts: 15302
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There was an effort to make struts and JSF coexist. Then Shale came along. There is a bit of discussion on that here. My opinion, and I think I share this with others, is that if deciding between JSF and Struts for a new project, just go with JSF and a good implementation like MyFaces. If you currently have a working Struts app, don't attempt to convert just for the sake of converting. If it ain't broke...
 
Anthony Karta
Ranch Hand
Posts: 342
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Gregg Bolinger:
if deciding between JSF and Struts for a new project, just go with JSF and a good implementation like MyFaces.


are you saying, for someone new (like me) to either JSF or Struts, is it more worthed to learn JSF?

thanks
tony
 
Gregg Bolinger
GenRocket Founder
Ranch Hand
Posts: 15302
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Tony Keith:


are you saying, for someone new (like me) to either JSF or Struts, is it more worthed to learn JSF?

thanks
tony


No, that isn't at all what I am saying. Struts is still very heavily used in the industry. So if it's your resume you are concerned with, Struts is still a good blurb on it. Nor am I saying that I think JSF is the future and everyone should learn it.

But if someone walks up to you and says


We are creating a brand new application. We can use Struts or JSF and I need you to choose...


Then I'd say choose JSF.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic