I’ve seen plenty of questions about the difference between Struts2 and Spring MVC. But my question is the following:
I have a large-scale web app that needs reworking and its based on Struts2.
What I want to do is integrate Hibernate + Spring + Spring Security + Potentially Spring DM ( since we want to make it as modular as possible).
Now as you can see its already a lot of reworking, so I am wondering IF in case I leave Struts2 (to reduce a tiny bit my rework) would this cause a significant perfromance issue in the future?
My question is mainly a continuation the question asked by others before. However what I am interested in is not if its possible, more like what would cost in terms of performance if I keep Struts2.
Thanks,
I don’t see “performance” as a key factor in the decision of replacing Struts2 with Spring MVC.
If your application currently has performance issues, I doubt that the core Web framework being used (Struts2 or Spring MVC) are the cause of it.
Most likely it’s going to be the usage of the framework, or something unrelated to it (backend processing, database queries,….).
If your application doesn’t have performance issues, replacing a technical component like Struts with Spring MVC will not influence it. Neither frameworks have major issues and are used in production environments without known performance issues.
The decision to switching to another framework should be based on other factors (support model, community support, functionalities offered by the framework, strategic architectural alignment,….)