SpringMVC Source Series HandlerAdapter
1. Write before
1. Overview
Previously we talked about finding the corresponding mapper by request, that is, finding the corresponding method, so how to call this method. Because different methods of receiving requests have different ways, the simplest is that the method name is different, so how to call. Here we use the adapter mode in desig ...
Posted by tmharrison on Fri, 15 Oct 2021 18:38:24 +0200
Spring string placeholder parser PropertyPlaceholderHelper
Spring property placeholder parser PropertyPlaceholderHelper source code reading
PropertyPlaceholderHelper is used to process the "${}" placeholder in the string, such as obtaining the property value defined in the corresponding property file through the @ Value("${}") annotation (but @ Value("#{}") cannot be proc ...
Posted by developer on Thu, 14 Oct 2021 08:49:19 +0200
Notes on Spring responsive programming -- C2 basic concepts of Spring responsive programming
[good book sharing: Spring responsive programming -- JD]
2.2 practice of using RxJava responsive framework
RxJava library is the Java virtual machine implementation of Reactive Extensions, which is similar to the combination of observer mode, iterator mode and functional programming.
2.2.1 responsive flow = observer + iterator
Separate pr ...
Posted by fatbobo on Thu, 14 Oct 2021 06:26:48 +0200
SpringBoot integrates mybatis error reporting document records
SpringBoot integrates mybatis error reporting document records
The following is the error information that I have delayed sorting out for many hours. I hope you can refer to it. This paper mainly gives it to myself in the form of notes as a reference.
1. Organization structure of the project
Set the User class in pojo, create the Dao layer ...
Posted by stweaker on Wed, 13 Oct 2021 22:55:01 +0200
Spring explains AOP aspect oriented programming
Chapter 3 AOP aspect oriented programming
1. Problems caused by adding functions.
In the source code, the functions added in the business method.
1) The source code may change a lot.
2) There are many duplicate codes.
3) Code is difficult to maintain.
2. AOP concept
2.1 what is AOP
AOP (aspect oriented programming): Aspect Oriented ...
Posted by bubazoo on Wed, 13 Oct 2021 16:16:06 +0200
redis caching with Spring custom annotations
1, Foreword
Redis is one of the basic components that must be used in distributed microservices. At present, it is basically used in most domestic projects, and caching is one of its main functions. Frequent use of set() method to add annotations in projects will cause code duplication and bloated. For those who do not have enough development ...
Posted by jaymc on Wed, 13 Oct 2021 04:26:16 +0200
Spring Boot series: introduction to Spring Boot
Building microservices: an introduction to Spring boot What is spring boot Spring boot is a new framework provided by pivot team. It is designed to simplify the initial construction and development process of new spring applications. The framework uses a specific way to configure, so that developers no longer need to define templated configurat ...
Posted by ranjuvs on Wed, 13 Oct 2021 03:31:04 +0200
Common Plugin Configuration Codes for Maven Profile POM
[Instructions]
This article is only about POM code for plugin s in Maven. For Maven's common dependency configuration codes, see my other blog: Common Dependency Configuration Codes for Maven Profile POM:https://blog.csdn.net/wangpaiblog/article/details/112797500
ordinary
Running Environment
JDK 17
Maven 3.6.3
IntelliJ ...
Posted by kornlord283 on Tue, 12 Oct 2021 18:59:33 +0200
Swagger - [SpringBoot integrates swagger, configures swagger, configures scanning interface, configures API grouping]
catalogue
1, Introduction to swagge
2, SpringBoot integration Swagger
3, Configure Swagger
4, Configure scan interface
5, Configure Swagger switch
6, Configure API grouping
7, Entity configuration
8, Summary:
1, Introduction to swagge
Front and rear end separation:
  ...
Posted by xeno on Tue, 12 Oct 2021 03:40:38 +0200
Spring learning day 3: AOP?
Problems in transfer operation
Suppose we want to implement a transfer operation, we add a transfer method in IAccountService (business layer interface of the account),
/**
* transfer accounts
* @param sourceName Name of transfer out merchant
* @param targetName Transfer in account name
* @param money Tra ...
Posted by furiousweebee on Tue, 12 Oct 2021 02:24:09 +0200