Junit5 introduction and common test notes

Junit5 introduction and common test notes Spring boot has introduced JUnit 5 as the default library for unit testing since version 2.2.0. However, starting with versions above 2.4, the default dependency on Vintage (that is, modules compatible with JUnit 4 and JUnit 3) has been removed. If we UTF-8...

Posted by ClaytonBellmor on Mon, 20 Sep 2021 23:31:39 +0530

Construction of spring cloud project

SpringCloud Alibaba microservice solution 1. General Spring Cloud Alibaba is a sub project of Spring Cloud, which is committed to providing a one-stop solution for microservice development. This project contains the necessary components for developing distributed application microservices, so UTF-8...

Posted by alexvgtb on Tue, 21 Sep 2021 02:10:02 +0530

Internationalization in SpringBoot

Implementation principle of localeResolver in SpringBoot In the webmvcoautoconfiguration class 1. Webmvcoautoconfiguration is an autoconfiguration class for Web aspects in SpringBoot. 2. When the user does not create his own localeResolver, this configuration method will take effect, resultingUTF-8...

Posted by Phrank on Tue, 21 Sep 2021 05:20:09 +0530

RabbitMQ practice - asynchronous processing

A typical usage scenario for rabbitmq is asynchronous processing Scenario Description: after the user registers, send registration email and registration SMS to the user. When we develop the above scenarios, we usually use two ways to implement them. Serial mode Before there was no mq middlewarUTF-8...

Posted by techevan on Thu, 23 Sep 2021 10:34:33 +0530

Integration of SpringBoot and Shiro

1. Introduction to Shiro framework Apache Shiro is a powerful and easy-to-use rights management framework that performs authentication, authorization, password management and session management 1-1.Shiro core components: UsernamePasswordToken is used by Shiro to encapsulate the user's login infUTF-8...

Posted by JADASDesigner on Thu, 23 Sep 2021 12:58:04 +0530

SpringBoot--Events--Usage/Usage/Instance/Example/Actual

Original web address: SpringBoot--Event--Usage/Usage/Instance/Example/Practice_IT Cutting-edge Blog-CSDN Blog brief introduction Other web addresses Event Listening (based on the SpringBoot example)_JustryDen-CSDN blog Sketch Publishing and monitoring of events are subordinate to the observer mUTF-8...

Posted by stuartbrown20 on Thu, 23 Sep 2021 21:35:56 +0530

SpringBoot entry series unified log collection

Spring Boot exception handling was introduced earlier. If you don't know, you can see the previous article: SpringBoot introduction series - Essay classification - Zhang Weizhong - blog Garden. Today, we will mainly talk about log collection in Spring Boot. Logs are the key to tracking error loUTF-8...

Posted by luisantonio on Fri, 24 Sep 2021 06:16:00 +0530

Spring Security plays a flower! Two ways of DIY login

Spring Security plays a flower! Two ways of DIY login Generally, when using Spring Security, we use the login scheme provided by Spring Security. We can configure the login interface, login parameters and login callback. This usage can be regarded as a best practice! But! There will always be sUTF-8...

Posted by krishna.p on Sun, 26 Sep 2021 14:43:23 +0530

Bus for spring cloud source code analysis

preface The main functions of Spring Cloud Bus: event subscription and publishing, and the specific implementation of event listening; Spring Cloud Bus is based on spring cloud stream, which shields the differences of underlying message middleware and encapsulates it into various binders. 1, BUTF-8...

Posted by jpotte00 on Sun, 26 Sep 2021 16:16:29 +0530

SpringBoot integration polar test

SpringBoot integration polar test 1. Polar test description * * polar verification is used to distinguish between natural persons and robots in the computer field. It provides developers with safe and convenient cloud verification services through simple integration. Different from the previousUTF-8...

Posted by freewholly on Mon, 27 Sep 2021 07:35:44 +0530