What is the difference between sprng and struts?

Source: Internet
Author: User

Spring

1) Open source framework

2) IoC (control inversion), writes the creation and dependency of the class in the configuration file, is injected by the configuration file, realizes the loose coupling

3) AOP will be safe, the transaction is equal to the program logic of the relatively independent function extracted, using the spring configuration file to plug in these functions, implemented in accordance with the aspect of programming, improve the reusability of

What is the difference between struts and spring?

Structs: And WW2, and so on, are typical of the MVC structure framework), structs emphasis on the performance layer, it itself a controller function that is controllers, it can be good to separate the performance layer and the business layer. Spring: The white is a hodgepodge that provides the current variety of popular frameworks for integration, classic with Hibernate integration, in addition, such as Mail,axis ... There are all kinds of. In addition, it is more classic is the function of IOC and AOP. In addition, it provides spring MVC, which is based on Webflow. Spring is a synthesis of a series of web framework technologies, characterized by its lightweight, non-intrusive, decoupled design. The most common use is its ioc/di, which is the inversion control/dependency injection, such as the XML declaration bean, run-time injection.

Because I don't know very well, I can't understand well.

In more detail: http://blog.csdn.net/eastyell/article/details/3290662

What is the difference between sprng and struts?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.