How does Spring solve the problem of circular dependency?

Series blog posts: [IoC-0] introduction of Spring IoC [IoC-1] introduction of control inversion of IoC [IoC-2] BeanDefinition scanning registration of IoC [IoC-3] creation process of Spring bean [IoC-4] dependency injection principle of IoC [IoC-5] Spring IoC Summary - control inversion and dependency injection Related reading: @Difference ...

Added by westen on Tue, 28 Sep 2021 04:20:32 +0300

spring transaction creation and transaction propagation mechanism

1, Create transaction 1. Configure transaction manager <!-- Configure data sources dbcp2 --> <bean id="dataSource" class="org.apache.commons.dbcp2.BasicDataSource"> <property name="driverClassName" value="${db.driver}"></property> <property name="url" value="${db.url}"></pr ...

Added by mfalomir on Mon, 27 Sep 2021 22:32:51 +0300

spring---AOP basic thought madness

1. What is AOP AOP (Aspect Oriented Programming) means: Aspect Oriented Programming, which realizes the unified maintenance of program functions through precompiled mode and runtime dynamic agent. AOP is the continuation of OOP, a hot spot in software development, an important content in Spring framework, and a derivative paradigm of functiona ...

Added by c_shelswell on Mon, 27 Sep 2021 08:36:58 +0300

Analysis of Easy Rules rule engine

What is Easy Rules? Easy Rules is a simple and powerful Java rule engine that provides the following functions: Lightweight framework and easy to learn APIProgramming model of development and annotation based on POJODefine abstract business rules and apply them easilySupport the ability to create composite rules from simple rulesSupport the a ...

Added by plutomed on Mon, 27 Sep 2021 07:55:02 +0300

Spring aspect oriented programming AOP

9.1 what is AOP AOP (Aspect Oriented Programming) means: Aspect Oriented Programming, which realizes the unified maintenance of program functions through precompiled mode and runtime dynamic agent. AOP is the continuation of OOP, a hot spot in software development, an important content in Spring framework, and a derivative paradigm of function ...

Added by i on Sun, 26 Sep 2021 09:30:39 +0300

MybatisPlus Usage Summary 2021-09-22

Mybatis application 1 Introduction to Mybatis and coding process 2 mapper agent development method 3 Global profile 4 Input mapping and output mapping 5 Association query 6 Delayed loading 7 Dynamic SQL 8 Mybatis cache Extended content 1 MybatisPlus Usage Summary 2 MyBatis Plus learning documentation 3 JDBC content review 4 Mybatis source co ...

Added by scraff on Sat, 25 Sep 2021 08:22:28 +0300

Redis comprehensive learning

Docker installation Redis Create a Redis network docker network create redis Run redis container docker run --name master-redis \ --net redis \ -v C:\Users\Administrator\Desktop\redis\data:/data \ -v C:\Users\Administrator\Desktop\redis\conf:/usr/local/etc/redis \ -d redis redis-server /usr/local/etc/redis/redis.conf Use scaffold con ...

Added by dips_007 on Fri, 24 Sep 2021 18:25:03 +0300

SMVC1: introduction, case and principle of spring MVC

1. Introduction 1.1 MVC MVC: model (dao, service), view (jsp) and controller (servlet). MVC is not a design pattern, but an architecture pattern. Of course, in the early web development, Model1 is used. In Model1, it is mainly divided into two layers: view layer and model layer. 1.2 SpringMVC Definition: Spring MVC is a lightweight Web fram ...

Added by peri on Fri, 24 Sep 2021 12:31:55 +0300

Explain spring declarative transactions (@ Transactional) in detail

spring transactions are used in two ways: programmatic transactions and declarative transactions. Programming transaction Last It has been introduced in the article. For unfamiliar suggestions, first look at the usage of programmatic transactions. This article mainly introduces the usage of declarative transactions. We basically use declarati ...

Added by Manat on Thu, 23 Sep 2021 18:36:52 +0300

Execution process, Controller, RestFul style, data processing and jump of Spring MVC

Spring MVC-1 summary Spring MVC is a part of the Spring Framework. It is a lightweight web framework based on java to implement mvv. View official documents: https://docs.spring.io/spring-framework/docs/current/reference/html/web.html#mvc Why should we learn spring MVC? Features of Spring MVC: Lightweight, easy to learnFunny, request resp ...

Added by spheonix on Wed, 22 Sep 2021 19:22:59 +0300