• 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

Why is Struts 2 considered so bad?

 
Ranch Hand
Posts: 77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,

I read a lot of articles that claim that Struts 2 and using JSP is really bad, etc etc. I am curious why so many have a disdain for Struts 2? It's fairly easy to work with. I prefer using annotations myself with it. Still, are frameworks like JSF 2, Wicket, Velocity, Spring MVC that much better? Having worked with Spring MVC years ago, JSF 1.2 and Wicket briefly.. I find that they basically do the same thing in different ways. JSF uses jspx pages instead of jsp. Wicket shows the most promise with using a template setup, but I don't know how well it will scale given the amount of memory it uses on the server side to keep each users page in memory along with session data? Seems to me Wicket would be the least scalable solution for a large site.

Another solution I am using at times is Jersey with ajax/REST calls in lieu of straight struts 2 action classes. It is essentially the same thing.. request scoped data.. the only different being instead of forwarding to a JSP page that then uses some sort of JSON or XML transformation, the rest call (at least via Jersey) and JAXB return json or xml a bit easier.

Anyway, interested in knowing if Struts 2 is basically a dead end, or if a lot of developers still choose it over others?
 
That is a really big piece of pie for such a tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic