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

Distributed -- SpringBoot configuration principle

Maven tool advanced usage Note: in maven, if A ----- > b -------- > C is introduced into the project, BC can be automatically introduced!!! How to achieve???Analysis principle of Maven tool:1). When the user relies on the jar package through the dependency tag, maven tool will look for the modified jar package file in the local warehouse ...

Posted by lostnucleus on Sat, 07 May 2022 06:01:37 +0300

Permission Subsystem--Shiro Security Framework

Introduction to Shiro Security Framework Overview of Shiro Shiro is an open source security framework under apache ( http://shiro.apache.org/) It extracts the functions related to the security authentication of the software system, realizes the functions of user identity authentication, authority authorization, encryption, session management, e ...

Posted by battlesiege on Sat, 07 May 2022 05:13:50 +0300

jt project summary draft

Detailed business code introduction of jt project 1) Business introduction: 1.1) anonymous access ~~~~ Users access jt.com via Com enters the JT home page. At this time, it is an anonymous user. If the user visits the shopping cart module or order module, the interceptor will intercept this request and redirect it to the user login page. Speci ...

Posted by deepermethod on Sat, 07 May 2022 05:08:26 +0300

springboot integrates ActiveMQ messaging middleware

As a message middleware supporting JMS specification, activeMq, as the third party between the sender and receiver, can decouple the system application, make the message asynchronous transmission and processing, and even solve the problem of traffic peak. Support point-to-point and point to many (subscription publish) modes. (other peers includ ...

Posted by stokie-rich on Fri, 06 May 2022 22:46:36 +0300