• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts 2 vs JSF

 
Chris Boldon
Ranch Hand
Posts: 190
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am starting a new project, and am trying to decide on what framework to use. Most of my experience is with Struts implementations. However, I am reluctant to start a new project on an old technology. I was leaning towards struts 2, since it seems very familiar to me, and provides Dojo integration.

Could you please give me some feedback/opinions on these frameworks?

Thank you.
 
Joe Ess
Bartender
Posts: 9320
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There's no substitute for comparing your particular application's requirements to the feature sets offered by various frameworks, I'm afraid.
Matt Raible gives several presentations on comparing and choosing a framework. His advice boils down to: choose 2-3 frameworks that best fits your requirements and prototype. No framework is a silver bullet, but if you have some features you can't do without, that will drive the framework you use.
 
Jimmy Clark
Ranch Hand
Posts: 2187
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am starting a new project, and am trying to decide on what framework to use. Most of my experience is with Struts implementations. However, I am reluctant to start a new project on an old technology.


Your first step should be to identify what is required. What is the project based on? Learning "what" will make deciding "how" much easier. Struts is only a framework for the presentation component of an application. Your focus at this point should be defining the business requirements of the application. And then, defining the presentation requirements.

If you have Struts programming experience, then you should stay with it. However, if you have time to study and learn, integrating Struts2 and Java Server Faces should be a good learning experience. Either way, there is a lot of learning, new tag libraries, etc. This can distract you and take up your time making you neglect the real important aspects of building the business application component.

Business logic should be implemented with either POJO or Enterprise JavaBeans.
[ October 10, 2008: Message edited by: James Clark ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic