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

Spring Boot encrypts and decrypts configuration files at startup

Spring Boot Application events and listeners Find application.yml Read operation of. from spring.factories View in # Application Listeners org.springframework.context.ApplicationListener=\ org.springframework.boot.context.config.ConfigFileApplicationListener,\ ConfigFileApplicationListener this object pair application.yml Read operation Li ...

Posted by literom on Tue, 16 Jun 2020 05:41:14 +0200

Spring Boot Principle Deep-Dependent Management

2.2 Deep Principle The traditional Spring framework implements a WEB service, which needs to import various dependent JAR packages, then write corresponding XML configuration files, etc. Compared with Spring Boot, it is more convenient, fast and efficient.So how does Spring Boot really do that? 2.2.1 Dependency Management Question: Why doesn't ...

Posted by joshi_v on Mon, 15 Jun 2020 21:30:25 +0200

Spring Boot - In-depth Principles - Customize starter

2.2.3 Custom starter Spring Boot is made up of many Starters (a series of starter plug-ins that are automatically configured), and it is also because of starter that Spring Boot is popular. starter is a very important part of Spring Boot and can be understood as a pluggable plug-in because it allows developers who use a feature to ignore the p ...

Posted by moe on Mon, 15 Jun 2020 21:25:55 +0200

The first part of Spring source code is open and complete! How is the configuration file loaded?

Last week, I put my words out. It seems that all my friends are looking forward to it. In fact, SongGe can't wait to start a new series. However, the current Spring Security series is still in the process of serialization and has not been completed yet. It's a series of events. Keep your spirits up, and then you'll lose three times. It must be ...

Posted by one on Mon, 15 Jun 2020 05:11:04 +0200