• 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 2 vs JSF

 
Ranch Hand
Posts: 190
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 2187
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
reply
    Bookmark Topic Watch Topic
  • New Topic