• 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
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

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.
 
WARNING! Do not activate jet boots indoors or you will see a tiny ad:
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
https://coderanch.com/t/751654/free-earth-friendly-heat-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic