[understanding of Spring transaction propagation mechanism]
1. What is a business?
Database transaction is simply to operate several different SQL statements as a whole, either all successful or all failed. It has four characteristics: atomicity, consistency, isolation and persistence. Spring transaction is a transaction processing mechanism encapsulated in database transaction. It has two manageme ...
Added by Fender963 on Wed, 23 Feb 2022 09:28:36 +0200
springboot: common annotations
springboot: common annotations
1, spring common annotations
Package scanning + Component annotation
@Component: Refers to various components
@Controller,@Service,@Repository Can be called@Component.
@Controller: Control layer
@Service: Business layer
@Repository: Data access layer
selector
@Conditional,Only when the specified condit ...
Added by aayatoos on Wed, 23 Feb 2022 07:58:27 +0200
Spring MVC notes - super detailed
1, Introduction to spring MVC
**Learn the pre knowledge of spring MVC: * * basic knowledge of Java Web, java,Srping, HTML,CSS,JavaScript and database
1. What is MVC
MVC is an idea of software architecture, which divides software according to model, view and controller
M: Model, the model layer, refers to the JavaBean in the project, whi ...
Added by a-scripts.com on Wed, 23 Feb 2022 02:26:51 +0200
#Practical skills of Spring and SpringBoot development
Practical skills of Spring and SpringBoot development
Links
SpringBoot knowledge column: https://blog.csdn.net/qq_37248504/category_10924414.html
Spring knowledge column: https://blog.csdn.net/qq_37248504/category_10924424.html
Back end development knowledge column: https://blog.csdn.net/qq_37248504/category_9699519.html
Get Applica ...
Added by dbemowsk on Tue, 22 Feb 2022 16:17:00 +0200
[springboot2.1.x @Scheduled timer, asynchronous start]
1. Scheduled task
A program executed at a specified time. Usage scenario
Data analysisData cleaningSystem service monitoring
2. Synchronous and asynchronous
Synchronous call
The program is executed in sequence according to the code sequence, and each line of program must wait for the execution of the previous line of program before executi ...
Added by dsainteclaire on Tue, 22 Feb 2022 11:55:59 +0200
[Spring5] 2 - IOC container concept, application and method, based on xml and annotation
IOC concept and principle
IOC concept
IOC (Inversion of control)
The process of creating and calling objects is handed over to Spring for managementPurpose of using IOC: reduce coupling
IOC entry case: https://blog.csdn.net/CherryChenieth/article/details/123043600?spm=1001.2014.3001.5501
IOC underlying principle: xml parsi ...
Added by pesale86 on Mon, 21 Feb 2022 18:18:53 +0200
Learning spring MVC
SpringMVC
First of all, let's learn about the classic MVC mode. The full name of MVC is Model View Controller. M refers to business model and data model, V refers to user interface and C refers to controller. The purpose of using MVC is to separate the implementation codes of M and V, so that the same program can use different expressions. ...
Added by benwhitmore on Mon, 21 Feb 2022 17:36:28 +0200
Spring source code analysis (16): refresh preparebeanfactory source code analysis
1, Foreword
In this blog, we mainly introduce the prepareBeanFactory method, the initialization preparation of the bean factory, setting some attribute values of the bean factory, which interfaces to ignore, which beans to register, and which bean post processors to set, etc. Next, let's look at the specific source code analysis, and here we a ...
Added by Tom_LR on Mon, 21 Feb 2022 10:48:32 +0200
[Kaka on Java] Java generics
students, today let's learn about generics in Java. Generics are widely used in object-oriented programming and various design patterns.
Generic concept
generic, i.e. "parameterized type". When referring to parameters, the most familiar thing is that there is a formal parameter when defining the method, ...
Added by asukla on Mon, 21 Feb 2022 05:13:15 +0200
Enterprise Spring Boot case - Spring Boot upload file (picture)
If you are Xiaobai, this set of information can help you become a big bull. If you have rich development experience, this set of information can help you break through the bottleneck 2022web full set of video tutorial front-end architecture H5 vue node applet Video + data + code + interview questions.
Article catalogue
1. Add dependency ...
Added by bacarudaguy on Sun, 20 Feb 2022 21:32:19 +0200