Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring 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
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

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 ]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
    Bookmark Topic Watch Topic
  • New Topic