This week's book giveaway is in the Programmer Certification forum.
We're giving away four copies of OCP Oracle Certified Professional Java SE 11 Programmer I Study Guide: Exam 1Z0-815 and have Jeanne Boyarsky & Scott Selikoff on-line!
See this thread for details.
Win a copy of OCP Oracle Certified Professional Java SE 11 Programmer I Study Guide: Exam 1Z0-815 this week in the Programmer Certification forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Paweł Baczyński
  • Piet Souris
  • Vijitha Kumara

SpringMVC vs. Struts

 
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm a Struts developer and new to Spring.

What's the advantages of SpringMVC over Struts?

Struts has a much larger developer pool and is much maturer.
Struts has a large set of tags and supports Tiles and sub projects.
Struts2 supports AJAX.

What about SpringMVC?
 
Ranch Hand
Posts: 433
Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why not giving it a try?
I currently working (since a few weeks) on a project with SpringMVC and I have to admit, that imo it sucks.
The provided tags are minimalistic (struts offers here much more), the documentation could be better and getting most of the time I have the feeling it's interfering me more than it helps me.
Personally I prefer Struts 2. But as I said, give it yourself a try and find out, if you like it or not.
 
Sheriff
Posts: 6450
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not going to give a point-by-point comparison, but I was a long time Struts developer who switched to SpringMVC. Conceptually, the two frameworks are very similar so there was not much of a learning curve.

For me it came down to the fact that I was starting on a new project that was using Spring heavily, and when it came time to pick a webapp, there was no reason not to use SpringMVC over Struts. SpringMVC feels cleaner and more polished and I just enjoy it more than Struts. I have instructed several developers on SpringMVC and all have found it relatively easy to pick up. YMMV, but for the Spring based apps I've been working on, it's just been easiest to use SpringMVC.
 
Ranch Hand
Posts: 194
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Personally I find SpringMVC a huge improvement over Struts 1.x, but find Struts 2.x or Stripes a moderate improvement over SpringMVC.
 
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Stup**, it is the business strategy, not the technology.

When I see so many similar open source frameworks in Java, it reminds me the
Visual J++ from M$.

M$ just got another record high profit. Clearly, Bill Gates is laughing...
[ February 06, 2008: Message edited by: Matt Brown ]
 
incandescent light gives off an efficient form of heat. You must be THIS smart to ride this ride. Tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!