• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

struts disadvantages

 
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Does struts have disadvantages, when comparing to other frameworks like spring?
 
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I don't really see Struts and Spring as competing in the same space. Spring is famous for its AOP/Dependency Injection capabilities, and that's mostly what it's used for. Yes, it has an MVC framework, but for whatever reason, that module is not widely used. It's certainly possible to use both Struts and Spring, with Spring being used for the back-end part of the development and Struts for the front-end.

Even though I've been a fan of Struts for a number of years, I do recognize that Struts 1 has some weaknesses. It can be a little cumbersome with the amount of XML that has to be written to support it. I also don't like the fact that it doesn't handle data type conversions very well, nor does it integrate with newer technologies such as AJAX as well as one might hope. Struts 2 solves most of these problems, however.

I see the main competitors for the web framework space (besides Struts) as being Java Server Faces (JSF) and two or three of the plethora of Open Source Web Application Frameworks such as Stripes, Grails, and Tapestry. I don't see Spring MVC being a major contender in this space.
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic