• Post Reply Bookmark Topic Watch Topic
  • New Topic

JSF instead of Struts - Greetings Authors

 
Ed Ward
Ranch Hand
Posts: 147
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Greetings to the Authors!
Is Struts becoming a thing of the past? I've used it a little on existing projects and am debating whether or not to throw full effort into learning the Struts framework or JSF.

Thanks.

Ed.
 
Thiago Shiono
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's a good question. I'd like to know the answer for this too.
 
Fintan Conway
Ranch Hand
Posts: 142
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Ed Ward:
Greetings to the Authors!
Is Struts becoming a thing of the past? I've used it a little on existing projects and am debating whether or not to throw full effort into learning the Struts framework or JSF.

Thanks.

Ed.


Hi Ed,

People like Craig McClanahan (who originally developed Struts) has advised that any new projects should start using JSF, and only to use Struts on existing Struts projects.

HTH,

Fintan
 
Moniphal Say
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Fintan

Hi Ed,

People like Craig McClanahan (who originally developed Struts) has advised that any new projects should start using JSF, and only to use Struts on existing Struts projects.

HTH,

Fintan


Hi Fintan,

If Struts only used in existing Struts projects, then later on, Struts will be no more? As Craig McClanahan, himself advised people to start using JSF with new projects.
 
ankur rathi
Ranch Hand
Posts: 3830
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Fintan Conway:


Hi Ed,

People like Craig McClanahan (who originally developed Struts) has advised that any new projects should start using JSF, and only to use Struts on existing Struts projects.

HTH,

Fintan


I am NOT doubting on you but please can you post any URL where it is being said.
 
Tim Holloway
Bartender
Posts: 18411
58
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
He said something very like that in a very public place. I think it might have even been the Struts website itself during the period when Struts had become moribund. He noted that a typical workflow required something on the order of 3 action classes, one form bean and a JSP in Struts, vs. one backing bean and a JSP in JSF.

In practical terms, here where I work we place weight on the fact that JSF is a part of the JEE spec, but Struts never became an official J(2)EE subsystem.

I was a fairly early adopter of both frameworks, and I prefer the relative simplicity of JSF. My gut tells me that there's probably a point where JSF can't handle things and Struts is the better solution, but for real-world projects I've never even come close to that point. And, of course, there's no reason that a project has to be exclusively Struts or exclusively JSF. They can share an application. In fact, Project Shale is predicated on that idea.
 
Chris Schalk
author
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Javaranch!

With regards to whether Struts is becoming "a thing of the past", personally I wouldn't go that far yet. Struts' obvious strengths are its relative simplicity and solid architecture. This has obviously made Struts an extremely popular technology over the last few years.

However I can say that from my vantage point I see a very serious interest in JSF. For example, Oracle is basing its Fusion middleware architecture's UI on Faces technology. Personally, being a former Struts advocate, I like how JSF's architecture at its core is very similar to Struts, but builds on where Struts provides less structure - namely in the UI component model. I really like JSF's UI component model and see it going head to head with Microsoft's ASP controls technology.

I'm pleased to see technologies like MyFaces, WebGalileo, Oracle ADF Faces, Sun, ESRI.. etc all providing really exceptional component libraries.

-Chris
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!