Find out in 10 minutes How does SpringBoot gracefully read configuration files?

This article is and is included in the springboot-guide (not just SpringBoot but also Spring Key Knowledge Points), address: https://github.com/Snailclimb/springboot-guide .Make it easier for you to learn Spring!If you feel good, welcome to a Star! Many times we need to put some commonly used configuration information such as Aliyun oss confi ...

Posted by vincent30000 on Sat, 08 Feb 2020 19:56:20 -0800

activiti global process listens to ActivitiEventListener, which realizes listening to different types of events. It is very convenient without configuring task listening in acitivit

If we want to configure monitoring for tasks, it's the normal way One by one configuration, it's more troublesome. Now use ActivitiEventListener to listen to global events, judge different event types, and then execute different business logic. 1. Define event handler interface Using interfaces to define uniform conventions public interface Eve ...

Posted by rd2010 on Sat, 08 Feb 2020 06:07:21 -0800

# Essential C++ Reading Notes #Chapter IV Object-based Programming Style

Fundamentals The definition of a Class consists of two parts: the declaration of the class and the body immediately following the declaration.The main part is enclosed by a pair of braces and ends with a semicolon.Two keywords within the principal, public and private, are used to denote "member access" for each block.Public member s c ...

Posted by Neoraven456 on Fri, 07 Feb 2020 19:44:53 -0800

sping cloud component link tracking Zipkin

From Here https://www.jianshu.com/p/1ef5cd97ba2b   What is Zipkin Zipkin is an open source distributed real-time data tracking system, designed based on a paper by Google Dapper and developed by Twitter.Its main function is to aggregate real-time monitoring data from heterogeneous systems.Distri ...

Posted by agriz on Fri, 07 Feb 2020 17:46:32 -0800

spring security inherits spring boot I

1. spring security is for permission authentication. 2. Database based authentication is used in all projects. First, we create a permission related table. General authority controls include    user → role → data_privilege    user →data_privilege  Users control through role. Data permission is ...

Posted by sunilj20 on Fri, 07 Feb 2020 09:48:06 -0800

IDEA creates Spring Boot + MySql + mybatis project

1. Create a new Spring Boot project The specific steps are as follows Select the appropriate dependency: Under src/main/resources of the spring boot project, the application.properties file exists by default. This is the configuration file of the spring boot project. Almost all related configurations ...

Posted by dennissanche on Fri, 07 Feb 2020 05:21:37 -0800

Java Backend Security Development Spring Security Development REST Service Chapter 4-4 - SMS Authentication Code

1. Configuration related 1.1 AbstractChannelSecurityConfig Abstract class encapsulating authentication logic for Http pages ApplyPasswordAuthentication Config sets the default form login authorization authentication route for HttpSecurity, and imoocAuthentication SuccessHandler, imoocAuthentication ...

Posted by TheSeeker on Thu, 06 Feb 2020 21:11:52 -0800

Spring MVC application (data binding - custom type converter, data format, data verification)

1, Ask questions When spring MVC encapsulates custom type objects, JavaBean s are bound to the data submitted by the page one by one. Here's what you need to know: 1) all data submitted by the page are strings 2) attributes in JavaBean s, such as Integer age; When binding data, the following oper ...

Posted by saeed42 on Wed, 05 Feb 2020 22:31:22 -0800

MongoDB series -- Aggregate pipeline operation in SpringBoot

MongoDB pipeline definition The aggregation pipeline of MongoDB will pass the results of MongoDB documents to the next pipeline after one pipeline is processed. Pipeline operations are repeatable. Common Aggregate pipeline operators of Aggregate in SpringBoot Customize the collection userCollection and initialize the data structure Store bean u ...

Posted by adnan856 on Wed, 05 Feb 2020 07:50:14 -0800

RabbitMQ learn the basic knowledge of three message queues

1, Basic knowledge (1) Provider Message producer is the procedure of message delivery. (2) Consumer Message consumers are message receiving programs (3) Messaging when message queuing is not used (4) Message passing method after using message queue (5) What is message queuing A queue is like a warehouse ...

Posted by corporateboy on Wed, 05 Feb 2020 05:46:48 -0800