Late night overtime boring, imitating an EventBus based on reflection

Dry point By reading this blog, you can learn about java's reflection mechanism and how to use custom annotations to solve everyday R&D problems based on the spring lifecycle. Problem Description In daily R&D, it is common to encounter an action triggered by Business A and at the same time trigger the action of Business B. This form of ...

Posted by rross46 on Mon, 29 Jun 2020 18:57:16 +0200

Pinyougou project notes: SpringBoot and Ali greater than

Notes on pinyougou project (11) SpringBoot introduce Small example (1) Small examples (2) Integration of springboot and activemq Ali greater than SpringBoot introduce springboot is a back-end full stack framework (excluding page technology) produced by spring organization Role: advocate zero ...

Posted by Imad on Mon, 29 Jun 2020 08:00:08 +0200

Sping boot integrated rocketmq multi consumer

1, rocketmq installation Installation media Download Download address: http://rocketmq.apache.org/release_notes/release-notes-4.7.0/Download binary installation package Upload to the server for decompression Start command: cd /usr/local/rocketmq/ # 1. Start mqnamesrv first #Start command nohup sh b ...

Posted by jocknerd on Wed, 24 Jun 2020 04:34:39 +0200

Spring boot principle: the starting principle of source code analysis

catalog 1, Introduction to spring boot analysis 2, Spring boot annotations to be covered 1.@SpringBootApplication 2.@SpringBootConfiguration 3.@EnableAutoConfiguration 4.@AutoConfigurationPackage 5. Some annotations in the xxxautoconfiguration class 3, Spring application initialization proces ...

Posted by aseaofflames on Mon, 22 Jun 2020 10:48:12 +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

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

SpringBoot 2.0.x startup process

The entry class of SpringBoot @SpringBootApplication public class SpringbootApplication { public static void main(String[] args) { SpringApplication.run(SpringbootApplication.class, args); } } As can be seen from the entry class, in the Main method, run is executed; let's go to th ...

Posted by alexz on Fri, 12 Jun 2020 05:35:04 +0200

[elegant code writing system] springboot+mybatis+pagehelper+mybatisplus+druid shows you how to write code gracefully

[TOC] Springboot integrates a lot of plug-ins. Compared with spring, springboot is a little bit Auto configuration: for many spring applications, springboot provides many auto configurations Start dependency: tell springboot what you need, and it will introduce the required Library Command line interface: optional features of springboot Autu ...

Posted by jbruns on Thu, 11 Jun 2020 06:23:55 +0200

Spring boot learning: the configuration method of Filter and the implementation principle of spring boot source code

Registration of Servlet, Filter, Listener In the case of spring boot application, because it starts a Servlet engine by itself, and needs to create a ServletContext object associated with the application to bind to the Servlet engine, so that the Servlet engine can receive the request and distribut ...

Posted by TristanOfADown on Thu, 11 Jun 2020 04:25:00 +0200