When it comes to Spring AOP, we are going to enhance transaction control by ourselves, and the Spring framework is ready for us to use these functions. Of course, don't think that SrpingAOP can only enhance the transaction function. AOP can be used to enhance any method you want to enhance. So how do ...
Posted by supernova on Sun, 21 Jun 2020 10:18:32 +0200
shiro's process of permission management
1, Login authentication
After the request is initiated: it will judge which permissions are needed through doFilter. Before reviewing shiro, you need to have a certain understanding of springMvc. According to the debug, review the processing flow of MVC - a ...
Posted by ClaytonBellmor on Sat, 20 Jun 2020 08:52:06 +0200
MyBatis - Introduction
Frame at a glance:
(1) Framework to solve technology integration problems: Spring framework is created due to the complexity of software development.
(2) The MVC framework to solve the problem of WEB layer: Spring MVC.
(3) The framework to solve the problem of data persistence: ...
Posted by hookit on Fri, 19 Jun 2020 06:20:22 +0200
1, Publish message to redis
1. Create a new springboot project
Create a new redis queue for the springboot project.
2. Introduce dependency
The introduction of related dependencies, in which lombok is used, requires the installation of lombok plug-ins.
<?xml version="1.0" encoding="UTF-8"?>
Posted by sixdollarshirt on Thu, 18 Jun 2020 12:28:50 +0200
From https://www.jianshu.com/p/9ee887e045dd , thank you
1 Finite-state machine
1.1 definition of state machine
FSM (finite state machine, FSM), also known as FSM, is a mathematical model that represents finite states, their transitions and actions.
Finite state machine embodies two points: first ...
Posted by echoindia756 on Thu, 18 Jun 2020 05:48:33 +0200
About the problem of password encryption, brother song has talked with you before. For reference:
Two ways of password encryption in Spring Boot!
In this article, song introduced two kinds of encryption schemes, but both of them are used independently! Can multiple password encryption schemes exist in the same project at the same time? The an ...
Posted by FlipinMonkeyPie on Thu, 18 Jun 2020 04:58:42 +0200
Official website: http://dubbo.apache.org/zh-cn/
On February 15, 2018, dubbo, Alibaba's service governance framework, successfully became an Apache foundation incubation project.
Apache Dubbo is a high-performance and lightweight open source Java RPC framework, which provides th ...
Posted by bitt3n on Wed, 17 Jun 2020 04:52:16 +0200
The main configuration class of SpringBoot
public class StartEurekaApplication
public static void main(String args)
Click @SpringBootApplication to see that @SpringBootApplication is a comp ...
Posted by sqlnoob on Tue, 16 Jun 2020 10:43:45 +0200
Interpretation of spring boot project architecture
SpringBoot startup process
Spring application running
Here we use IDE to create projects. When the scaffold is completed, I'm going to get anoth ...
Posted by Dilbert137 on Tue, 16 Jun 2020 09:28:26 +0200
Because an interface is too slow... Try to optimize (/ baldness)
Spring data used- mongo:2.1.3
mongo driver: 3.8.2
You can see me First query sentence.
Original page query
Due to the large amount of data, the query was slow, and it was later found that there was no need to use aggregation at all. With aggregate que ...
Posted by kat_jumper_33 on Tue, 16 Jun 2020 07:39:31 +0200