What is Spring?

Source: Internet
Author: User

Spring is an open source framework that is a lightweight control inversion (IOC) and aspect-oriented (AOP) container framework

Reason:

(1) Spring is lightweight in terms of size and overhead, and its capacity is small, and the cost of running spring is small

(2) by the control inversion (IOC) to achieve loose coupling, the IOC is the control of the hand, in the use of direct access to the object

(3) provides rich support for aspect-oriented programming, allowing for the development of cohesive applications by separating the business logic of the application from the system-level services (for example, the warehousing and outbound of goods is the business logic, and the warehousing and outbound of goods need unified logging and transaction management is system services, not specific to the business, That is, regardless of the business, the use of system services)

(4) Include and manage the configuration and lifecycle of the Application object, that is, the role of the container

(5) A simple component configuration, combined into a complex application, that is, the role of the framework

The difference between a framework and a class library:

(1) The framework is generally packaged logically, high cohesion, and the class library is a loosely set of tools

(2) The framework is focused on a particular area, and the library is more general

What is Spring?

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.