Spring source code continues to open!
Last article In, brother song shared with you the loading method of configuration files in Spring. If you haven't seen it yet, you must have a look at it first, which will help you better understand this article. Portal: The first part of Spring source code is open and complete! How is the configuration fil ...
Posted by MastahUK on Mon, 22 Jun 2020 05:05:50 +0200
Notification class, target class, enhanced code, weaving process, join point (pointcut)
Pre notice, post notice, final notice, exception notice
AOP can be used to isolate all parts of business logic, so as to reduce the coupling between all parts of business logic,
Posted by bazza84 on Sun, 21 Jun 2020 12:46:06 +0200
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