File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Is Struts 2 good? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Is Struts 2 good?" Watch "Is Struts 2 good?" New topic
Author

Is Struts 2 good?

Veera Sundar
Greenhorn

Joined: Jun 08, 2007
Posts: 25
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.


Thanks,<br />Veera |<a href="http://veerasundar.com/blog" target="_blank" rel="nofollow">Blog</a>
Paras Jain
Ranch Hand

Joined: Feb 26, 2005
Posts: 137
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


Paras Jain
SCJP 5.0
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

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

Joined: Jul 02, 2001
Posts: 697
How about Struts 2 vs JSF?

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



SCJP 1.2 (89%), SCWCD 1.3 (94%), IBM 486 (90%), SCJA Beta (96%), SCEA (91% / 77%), SCEA 5 P1 (77%), SCBCD 5 (85%)
Akhilesh Trivedi
Ranch Hand

Joined: Jun 22, 2005
Posts: 1511
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.


Keep Smiling Always — My life is smoother when running silent. -paul
[FAQs] [Certification Guides] [The Linux Documentation Project]
Veera Sundar
Greenhorn

Joined: Jun 08, 2007
Posts: 25
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?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Is Struts 2 good?
 
Similar Threads
Suggest me a book
SpringMVC-JSF-STRUTS
need help for Struts..
how to write Custom Events in Java ?
Web UI libraries for Struts 2