Spring integration Mybatis source code analysis: @ MapperScan principle

Tip: after the article is written, the directory can be generated automatically. Please refer to the help document on the right for how to generate it preface Last article Referring to the postProcessBeanDefinitionRegistry() method of mappercannerconfigurer, this article continues to delve into this method. 1, Mapper registration pro ...

Added by nitromaster on Thu, 16 Dec 2021 19:02:15 +0200

[SSM project: Java high concurrency spike API] 1 business analysis and DAO layer

1. Project overview 1.1 SSM framework advantages The framework is easy to use and lightweightLow code intrusionMature community and user base 1.2 introduction to relevant technologies 1.MySQL Table designSQL skillsTransaction and row level locks 2.MyBatis Design and development of DAO layerMyBatis rational useMyBatis and Spring i ...

Added by carobee on Thu, 16 Dec 2021 18:40:31 +0200

Spring boot notes -- boot outer layer and interface test

[the external link image transfer fails. The source station may have an anti-theft chain mechanism. It is recommended to save the image and upload it directly (IMG nhecelxt-163966357156) (D: \ 2021 \ MD \ springboot \ img \ springboot introduction. png)] [the external chain picture transfer fails. The source station may have an anti-theft chai ...

Added by aiwebs on Thu, 16 Dec 2021 18:20:39 +0200

Spring background management system project exercise 03 - product list, Nginx, project local release

1 product list 1.1 preparation 2. Product list display 2.1 front end request 2.2 ItemController /*Business requirements: display of commodity list Request path: / item / getitemlist? query=&pageNum=1&pageSize=10 Request type: get Request parameters: receive using pageResult object Return value: SysResult(pageR ...

Added by vasoftwaresolutions on Thu, 16 Dec 2021 15:47:48 +0200

Spring source code debugging environment construction

1. Spring source code download address:         https://github.com/spring-projects/spring-framework , version 5.2 x 2. Install Gradle: Spring relies on Gradle build tools to manage package dependencies (1) Gradle download address: https://services.gradle.org/distributions/ or https://gradle.org/releases/ (2) Configure environment variabl ...

Added by kevin99 on Thu, 16 Dec 2021 11:22:32 +0200

Simple implementation of SpringMvc handwriting - MVC conclusion

After the above two articles, you should have a general understanding of the principle of spring (the code is not important, but the focus is on the idea). spring is implemented, so we have to mention MVC architecture. MVC architecture How to design the structure of a program is a special knowledge, called "architectural pattern", w ...

Added by silverglade on Thu, 16 Dec 2021 11:11:55 +0200

Spring source code learning < I > spring underlying core principles

1. How to create an object in spring   @Component public class UserService { public void test(){ System.out.println("test"); } @ComponentScan("com.shen") public class AppConfig { } public class Test { public static void main(String[] args) { AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(AppC ...

Added by easethan on Thu, 16 Dec 2021 10:28:40 +0200

Multi data source transaction integration - mybatis plus

At present, most of what Baidu can search are aop and multi data source management implemented separately. It is complex to use, and it is not very perfect. For example, whether to consider nested transactions and the support method of multi data source transactions, many bloggers are not involved. Most of them are simple Interception Based on ...

Added by vapour_ on Thu, 16 Dec 2021 10:05:16 +0200

Implementing rights management system with spring security

For space reasons, please refer to this article to realize the login function first https://blog.csdn.net/grd_java/article/details/121925792 1, Database tables, and entity classes Because the front end is written by VUE, components and paths need to be saved sql statements for all libraries 2, Menu management TODO fi ...

Added by michaelpalmer7 on Thu, 16 Dec 2021 07:45:51 +0200

[Spring] IOC core container and XML management Bean

1, IOC (control reversal) Dependency Injection (DI) has the same meaning as control inversion (Ioc), but the same concept is described from different angles. 1. Inversion of control (IoC): leave the creation and calling of objects to Spring for management; (1) IoC purpose: reduce coupling (2) IoC underlying principles: xml parsing, factory ...

Added by thryb on Thu, 16 Dec 2021 00:11:36 +0200