SpringCloud GateWay custom filter GatewayFilter and AbstractGatewayFactory

1. GatewayFilter GatewayFilter is a simple interface used to define the behavior of a gateway filter. A gateway filter is a class that implements the GatewayFilter interface and can perform certain operations when a request enters the gateway or when a response leaves the gateway. Filters can be used to modify requests or responses, log, […]

3Spring Boot 3 integrates mybatis-plus+druid+mysql

Directory 【3】Spring Boot 3 integrated components: Druid + Mybatis Plus + Mysql integration solution 1. Hikari + jdbc + mysql integration solution increase dependency Add configuration Spring Testng test cases 2. Druid + Mybatis Plus + Mysql integration solution 2.1 Configure Druid Add dependencies Configuration Start Spring Boot Web Starter Spring Testng test cases 2.2 […]

Springboot java introduces Mqtt to receive and send messages under the framework of the front and back separation version

This is just one of them, and it is a superficial method of receiving and sending messages. The synchronization mechanism needs to be communicated and confirmed with colleagues engaged in the Internet of Things to see if it can be implemented. Or if there are many devices, the synchronization mechanism will not be used. First, […]

Design and implementation of information technology knowledge contest system based on SpringBoot

Table of Contents Preface 1. Technology stack 2. Introduction to system functions User information management Learn video management Announcement type management Announcement information management 3. Core code 1. Login module 2. File upload module 3. Code encapsulation 4. Conclusion Foreword Firstly, it takes a lot of time to manage information using traditional methods. Secondly, the […]

SpringBoot integrates Ldap–super detailed method explanation

LADP Overview LDAP (Lightweight Directory Access Protocol) is a protocol for accessing and maintaining distributed directory information services. Directory service is a service for storing and retrieving information. It is usually used to store user information, organizational structure, network equipment and other data within an organization. LDAP is a lightweight protocol designed for lookup and […]

SpringBoot 2 ways to quickly implement sub-database and sub-table

This article is the third article in the series “Principles and Practice of ShardingSphere5. In code> environment, sub-database and table can be quickly realized through JAVA encoding and Yml configuration. 1. What is ShardingSphere? shardingsphere is an open source distributed relational database middleware and is the top-level project of Apache. Its predecessor was two independent […]

Summary of all aspects of getting started with SpringCloud Alibaba components (Part 1): registration center-nacos, load balancing-ribbon, remote calling-feign

Article directory Nacos Ribbon Feign FeignExpansion Nacos Concept: Nacos is a new open source project launched by Alibaba. It is a dynamic service discovery, configuration management and service management platform that makes it easier to build cloud native applications. Nacos is committed to helping users discover, configure and manage microservices. It provides a simple and […]

Spring transaction AOP causes transaction failure problem

Situation Description First, AOP was enabled, and transactions were enabled at the same time. The TransactionAspect below is a simple AOP aspect with an Around notification. @Aspect @Component public class TransactionAspect {<!– –> @Pointcut(“execution(* com.qhyu.cloud.datasource.service.TransactionService.*(..))”) // the pointcut expression private void transactionLogInfo() {<!– –>} // the pointcut signature /** *Title: around<br> * Description: This Around […]