How did Spring - IOC come from

Inversion of Control (IoC for short), yes object-oriented programming A design principle in that can be used to reduce the cost of computers code Between Coupling degree . The most common way is called Dependency injection (Dependency Injection, DI for short), another method is called Dependency Lookup. Through control inversion, when an objec ...

Added by Monkey-Moejo on Tue, 23 Nov 2021 22:42:59 +0200

Nearly 20000 words of Dubbo principle analysis, thoroughly understand Dubbo

prefaceEarlier, we studied the principle of RPC. There are many frameworks based on RPC, such as Dubbo. Today, we will deeply analyze Dubbo from its SPI mechanism, service registration and discovery source code and network communication process.Dubbo architecturesummaryDubbo is a high-performance and excellent open source service framework of A ...

Added by greengo on Tue, 23 Nov 2021 21:47:21 +0200

Spring Chinese Translation

Spring IoC container 1.1 introduction to IOC container and Bean Inversion of Control (IoC) is also called Dependency Injection (DI). This is a process in which multiple objects define their dependencies (call relationships between objects) only by setting properties after constructor parameters, factory method parameters, or object instances ar ...

Added by juminoz on Tue, 23 Nov 2021 18:39:30 +0200

Mybatis spring quick start

catalogue   1, Introduction 1. What is mybatis spring? 2. Knowledge base   2, Quick start 3, Integration implementation ① (SqlSessionTemplate) 4, Integration implementation ② (SqlSessionDaoSupport) 5, Business Container management transactions Programming transaction management 6, Using SQLSession 1, Introduction 1. What ...

Added by Jezthomp on Tue, 23 Nov 2021 10:01:58 +0200

SpringBoot custom annotation + interceptor implementation

In actual production projects, sensitive data such as ID card information, mobile phone number and real name often need to be encrypted and stored in the database. However, manual encryption and decryption of sensitive information in business code is not elegant, and there may even be wrong encryption, missing encryption, and business personnel ...

Added by loci on Tue, 23 Nov 2021 05:51:55 +0200

Use of SpringBoot global thread pool and local thread pool

  catalogue Thread pool Global thread pool Local thread pool Thread pool         Thread pool is to create some threads first, and their collection is called thread pool. Using thread pool can improve performance. When the system starts, the thread pool creates a large number of idle threads. The program passes a task ...

Added by FangerZero on Tue, 23 Nov 2021 04:49:34 +0200

Dubbo annotation @ DubboService mechanism

The versions of this article are based on version 2.7.7. 2.7.7 provides the @ EnableDubbo annotation for integration with spring. For the explanation of the source code of the Import annotation, I recommend reading this blog, which is very clear: https://blog.csdn.net/boling_cavalry/article/details/82530167 From the use of Dubbo in Spring, th ...

Added by gardner1 on Tue, 23 Nov 2021 02:07:01 +0200

Spring Cloud Gateway practice 5: built in filter

Welcome to my GitHub https://github.com/zq2599/blog_demos Content: classification and summary of all original articles and supporting source code, involving Java, Docker, Kubernetes, DevOPS, etc; Overview of this article As the fifth article in the Spring Cloud Gateway practical combat series, it's time to understand the role of filters. ...

Added by arjan.top on Mon, 22 Nov 2021 08:18:02 +0200

Spring source code analysis - everything about Bean

Reading tips: TL;DR. The article contains a large number of source code. It takes a long time to read. It may take more than 20 minutes to read carefully. Recall that the core function of spring is, after all, a container for providing so-called "beans" ", and is responsible for the connection between beans. As we know, beans ...

Added by -Zeus- on Sun, 21 Nov 2021 06:05:19 +0200

Spring's core AOP and proxy pattern ("easiest to understand spring learning")

🏇 wow Click Click : \textcolor{blue} {wow, Kaka:} Wow, Kaka: stay ...

Added by yuws on Sun, 21 Nov 2021 01:05:32 +0200