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?