aspose file tools*
The moose likes Other Application Frameworks and the fly likes Struts 2 vs JSF Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "Struts 2 vs JSF" Watch "Struts 2 vs JSF" New topic
Author

Struts 2 vs JSF

Chris Boldon
Ranch Hand

Joined: Aug 10, 2006
Posts: 190
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

Joined: Oct 29, 2001
Posts: 8907
    
    8

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.


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
Jimmy Clark
Ranch Hand

Joined: Apr 16, 2008
Posts: 2187
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 ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Struts 2 vs JSF