java framework SSM learning -- Spring's transaction control

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

User verification and authorization process call stack 2 of shrio (detailed)

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

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

Spring boot integrates redis to realize message queue -- asynchronous receiving and multithreading sending

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

Concept and application of Spring Statemachine

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

A variety of encryption schemes coexist in Spring Security, which is a powerful tool for the integration of old and dilapidated systems!

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

Dubbo RPC communication of Spring Cloud series

About Dubbo       Official website: http://dubbo.apache.org/zh-cn/   Github: https://github.com/apache/dubbo 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

In depth spring boot annotation principle and use

The main configuration class of SpringBoot @SpringBootApplication public class StartEurekaApplication { public static void main(String[] args) { SpringApplication.run(StartEurekaApplication.class, args); } } Click @SpringBootApplication to see that @SpringBootApplication is a comp ...

Posted by sqlnoob on Tue, 16 Jun 2020 10:43:45 +0200

SpringBoot startup process and project creation

catalog Project creation Interpretation of spring boot project architecture SpringBoot startup process Execution entry SpringApplication instantiation Spring application running appendix Project creation 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

A mongo Optimization -- Query stability check

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. Optimization ideas paging 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