Here comes the RabbitMQ dry goods you want most!!!

preface At the beginning of the article, we first lead to several questions: Are you still worried about the need to synchronize some data between two (more) systems through scheduled tasks? Are you struggling with the problem of calling and communicating between different processes in heterogeneous systems? If so, congratulations. Messaging ...

Posted by james_holden on Sun, 08 May 2022 11:40:29 +0300

SpringBoot2.x+Spring5+Mybits3.x later use vue front-end to build front-end and back-end separation-1 to get to know the new SSM

catalogue What is annotation What is the Spring framework Relationship between SpringBoot and SpringClound Common SpringBoot project development methods Recommended solutions for learning new technologies What is annotation Java annotation is some meta information attached to the code, which is used for parsing and using some tools dur ...

Posted by chigley on Sun, 08 May 2022 09:10:50 +0300

SpringBoot ~ solve three doubts, why POM No version required for importing dependency in XML file? How does it achieve automatic configuration? How does it start and run?

Why POM You do not need a version to import dependencies in an XML file? SpringBoot is a Maven project in the final analysis. We usually start from POM XML file; In the past, whether it was java web or SSM, we were in POM The import dependency in the XML file needs to implement its version, but there is no version in the SpringBoot project ...

Posted by ThunderAI on Sun, 08 May 2022 07:00:13 +0300

spring boot2.x back end parameter verification + unified exception handling + back end custom global unified interface return response data format

1, Foreword This blog mainly introduces the following aspects: Use Validator to check parameters conveniently and quickly; Specification of completing exception operation through global exception handling; Complete the specification of response data through unified data response; Through user-defined annotation, filter whether the returned r ...

Posted by elementaluk on Sat, 07 May 2022 23:46:54 +0300

Springboot integrates Redis as the secondary cache of Mybatis

Article reprint statement: please attach a link to the original text for reprint 0. Environmental preparation The following is my local environment: SpringBoot2.3.x Mybatis3.x Redis5.x Set up a redis environment on the local machine or server, and start it successfully! Here I use redis5.x deployed on Aliyun student computer IDEA2020.x, E ...

Posted by nikes90 on Sat, 07 May 2022 18:42:13 +0300

Do you understand the charm of custom annotations

preface Do you know the charm of custom annotations?Do you know how to use custom annotations?These two questions at the beginning of this article need you to think carefully, and then read the following contents in combination with these two questions; If you have a clear understanding of these two questions after reading the article, please u ...

Posted by google_man2000 on Sat, 07 May 2022 13:15:52 +0300

Principle of spring boot automatic configuration

Article reference source I'll start with the following principles when the startup class starts. It's also an entry point for my own learning! First, there is an annotation @ SpringbootApplication on the startup class. This annotation is a composite annotation or derived annotation, which contains three annotations: @Target(ElementType.TYPE) @ ...

Posted by Web For U on Sat, 07 May 2022 10:19:46 +0300

Seven cattle cloud file upload and file management

Seven cattle cloud file upload and file management Seven cattle cloud official website tutorial: https://developer.qiniu.com/kodo/sdk/1239/java Project GitHub address: https://github.com/lx972/qiniu-test 1 upload There are two ways to upload (1) Server direct transfer: server direct transfer refers to that the customer directly uploads file ...

Posted by developer on Sat, 07 May 2022 09:57:31 +0300

Springboot integrates Swagger to automatically generate interface documents

Why use Swagger to automatically generate interface documents Swagger is a complete framework. In the project, it is used to automatically generate the corresponding interface documents, and can directly test the interface on the visualization tool. I will sort out swagger2 0 + version and swagger3 Differences and deployment methods of ver ...

Posted by msk_1980 on Sat, 07 May 2022 09:50:04 +0300

SpringBoot officially supports the task scheduling framework, and it is also very delicious to be lightweight!

Earlier we talked about a distributed task scheduling framework PowerJob, which can perform task scheduling in a visual way. But sometimes we just need a lightweight task scheduling function, and it is a bit heavy for PowerJob to build a scheduling center. At this time, Quartz, the task scheduling framework officially supported by SpringBoot, c ...

Posted by dpiland on Sat, 07 May 2022 07:51:28 +0300