Home > Java > javaTutorial > Does anyone still use struts2?

Does anyone still use struts2?

藏色散人
Release: 2019-06-15 13:40:01
Original
10147 people have browsed it

Does anyone still use struts2?

Does anyone still use struts2?

The answer is yes, some old projects are still done by struts. But relatively speaking, the current mainstream of new development software is SPRING MVC.

Now struts2 has a tendency to be gradually replaced by springmvc. Let’s talk about the reasons:

1. Spring MVC and Spring are seamless. The management and security of this project are also higher than Struts2 (of course Struts2 can also achieve the same effect as SpringMVC through different directory structures and related configurations, but there are many places that require xml configuration).

2. Since Struts2 needs to encapsulate each request, encapsulate the variables of the servlet life cycle such as request and session into Maps for use by each Action and ensure thread safety, so in principle, It consumes more memory.

3. SpringMVC development efficiency and performance are higher than Struts2.

The above is the detailed content of Does anyone still use struts2?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template