Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Is Struts 2 good?

 
Veera Sundar
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I've been working on a new web project concept for quite some time and now I am thinking to start with the development. I've chosen Struts 2 as my web framework. But lately I am seeing many negative comments (Framework Comparison) about Struts.

So just wanted to know your thoughts on Struts 2. Is it good or bad? If you are asked to suggest a framework for a web project (AJAX enable with back end database actions), which one will you suggest?

Thanks in advance for all your comments.
 
Paras Jain
Ranch Hand
Posts: 138
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is Struts 2 good?

Good is relative term. What is good for my requirement may be disaster in your case.

Anyway, IMO if you want me to select an MVC framework for a new Application I would choose Spring. I have worked with Struts1.2 and little bit on Struts2 but I did not find any compelling reason to choose Struts2 over Spring. But thatz just me. Its my personal opinion
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The article linked to is over two years old and says almost nothing about Struts. The few comments there seem to be about Struts 1.

Struts 2 has very tight Spring integration. I prefer S2 over Spring MVC, although the latest Spring MVC has some significant improvements.

Dave
 
Paul Michael
Ranch Hand
Posts: 697
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How about Struts 2 vs JSF?

Which framework do you think will win in the long run?

 
Akhilesh Trivedi
Ranch Hand
Posts: 1599
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Paul Michael:
How about Struts 2 vs JSF?

Which framework do you think will win in the long run?



I have not much worked on JSF but whatever my encounter had been with it, had been troublesome with the layouts and gui stuff, I feel there is much more abstraction. May be you would have a different experience.
 
Veera Sundar
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks a lot for your comments.

How about this approach? Struts 2 for the Front end control and Spring for the database operation and IoC. Any comments on this?

Can anybody give some references/links for integrating Spring and Struts 2?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic