Aggregation and Dependency of Maven Projects

Aggregation and Dependency of Projects 1 Aggregation When a project is multi-module, how to build multiple modules at once instead of executing Maven commands separately under multiple modules. 1.1 Parent-Child Structure <!--Parent Module netsales-poss In packaging Must be pom--> <packaging>pom</packaging> <!--Parent Modu ...

Posted by Illusion on Thu, 25 Jun 2020 18:31:40 +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

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

Springboot Alipay website payment, APP payment, single transfer to users, refund function

1, Overview Recently, in writing projects, I met the place where I would like to call Alipay payment (website management website payment, APP user payment, APP user withdrawals, that is, single transfer to users, refund). I've studied for a long time, and all of them are connected. Now I'll share my c ...

Posted by allaboutthekick on Fri, 05 Jun 2020 06:07:56 +0200

Notes on cross domain access processing of springboot web project

Solve the problem of cross domain access of spring MVC web project 1. Cross origin cross domain annotation springboot has its own cross domain annotation, which can be placed on the RestController's class or method. It can also customize those domain names, which can be cross domain and very flexible @CrossOrigin / / by default @ CrossOrigin a ...

Posted by d.shankar on Sat, 25 Apr 2020 16:29:18 +0200

Simple Factory Mode for Design Mode

Simple Factory Mode Basic Definition: Simple factory mode, also known as static factory method, is a creation mode.In simple factory mode, instances of different classes can be returned depending on the parameters passed.The Simple Factory pattern defines a class specifically for creating instances of other classes that share a common parent. P ...

Posted by darthmahon on Thu, 16 Apr 2020 08:53:53 +0200

Note development learning notes

Preface Because of playing the play framework before, I don't know much about springboot; I have many doubts: ① How can custom annotations work in springboot ② How does the annotation plug-in like Lombok change the generated code Lombok plug-in Today, I found an online post called "Lombok", and I understood my doubts ...

Posted by mjurmann on Sun, 12 Apr 2020 06:03:40 +0200

SpringBoot -- implementation of login verification code

Today record the implementation of verification code, hope to help you! First, let's look at the effect of the implementation:   The implementation of this verification code does not use too many plug-ins. If you don't speak much, you can directly use the code. You can take it. The org.apache.commons.lang3.RandomUtils tool class is used in the ...

Posted by mubashir on Thu, 09 Apr 2020 17:41:52 +0200

springboot uses the PropertyResource annotation to read the properties of the specified configuration file (podcast code)

Chapter one: SpringBoot/Spring uses @ Value for attribute binding (podcast code for wisdom spreading)   The ConfigurationProperties annotation will read the properties from the global configuration file by default. When there are many properties, the main configuration file(application.yml, application.properties) will be bloated, so it is ne ...

Posted by Nimbuz on Mon, 06 Apr 2020 19:01:17 +0200

Gateway filter batch release url specified by properties -- white list

White list 2.4.1 what is a white list Problem: all requests are blocked and do not meet the actual requirements. (some requests do not need to be intercepted) White list: used to store the request path that does not need to be blocked 2.4.3 implementation Step 1: modify the gateway yml file, and configure the path that does not need to be b ...

Posted by gijs25 on Fri, 03 Apr 2020 07:00:38 +0200