wood burning stoves 2.0*
The moose likes JSF and the fly likes JSF and Struts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "JSF and Struts" Watch "JSF and Struts" New topic
Author

JSF and Struts

Ronald Depew
Greenhorn

Joined: Apr 26, 2006
Posts: 6
Can JSF coexist with Stuts, or is it a replacement of the Struts framework?
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

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...


GenRocket - Experts at Building Test Data
Anthony Karta
Ranch Hand

Joined: Aug 09, 2004
Posts: 342
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


SCJP 5
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

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.
 
 
subject: JSF and Struts