The design concept and design pattern analysis of Spring framework

Source: Internet
Author: User
Tags aop

Introduction: Spring has been widely used as one of the best frameworks in the present, and there are many articles on its analysis. From another perspective, this article will try to dissect the design concept of the Spring framework's skeleton architecture by the author of the design Spring framework, and how many core components are there? Why do you need these components? How are they combined to form Spring's skeleton structure? How does Spring's AOP feature work with these basic skeleton architectures? What design patterns are used in Spring to accomplish this design? What does this design concept have to do with our future software design? This article will answer these questions in detail.

Spring's skeleton architecture

Spring has a total of more than 10 components, but there are only a few real core components, and the following is the overall architecture diagram of the Spring framework:

Figure 1. The overall architecture diagram of the Spring framework

As you can see from the diagram above, there are only three core components in the Spring framework: cores, context, and Beans. They build the skeleton architecture of the entire Spring. Without them, the features of AOP, Web, and so on are not possible. The following will also analyze Spring primarily from these three components.

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.