In-depth understanding of the use and integration of Spring Cache (with source code analysis) Personal development environment
Java environment: Jdk1.8.0_60
Compiler: IntelliJ IDEA 201
Spring is an open source framework. Spring is a lightweight Java development framework that emerged in 2003 and was created by Rod Johnson. Simply put, Spring is a layered JavaSE/EEfull-stack (one-stop) lightweight open source framework
In-depth understanding of the use and integration of Spring Cache (with source code analysis) Personal development environment
Java environment: Jdk1.8.0_60
Compiler: IntelliJ IDEA 201
A request carries user information from the web to the background, and the life cycle of a request from start to end:
Request => Servlet => (Find the appropriate Controller based on Handler M
1. Transaction characteristics
Atomicity: Emphasizes the indivisibility of transactions
Consistency: Emphasizes that the integrity of the data must be consistent before and after the execution of t
First, jar can be imported into the project. After copying to the road, you must add as library and load it into the workspace before importing;
The jar package is also placed outside the pro
We often use the thread pool service provided by ThreadPoolExecutor. The springboot framework provides @Async annotation to help us more easily submit business logic to the thread pool for asynchro
There is bean configuration in the xml file, and the java class corresponding to this bean There is a parameterless constructor in
Then at this time, the spring container can use reflection t
Recently encountered a problem in the project. For a newly created activity, the activity set the start time and end time, which is just a status code change in the database. However, there is a pr
Springboot is a framework developed by Spring to quickly build javaWeb projects. Its biggest feature is that it is simple and fast, which simplifies a large number of configuration files for Spring
In the microservice architecture, there are usually multiple service layer calls. The failure of the basic service may cause This phenomenon is called the service avalanche effect. Service avalanch