Table of Contents 1. Brief description of Spring Cache 2. Common annotations for Spring Cache 3. @Cacheable annotation 4. @CacheEvict annotation 1. Brief description of Spring Cache Spring Cache is a caching abstraction mechanism provided by the Spring framework to simplify caching operations in applications. It caches the return value of the method. When the […]
Tag: springboot
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 […]
SpringBoot distributed verification code login solution
Foreword In order to prevent the verification system from being violently cracked, many systems have added verification code verification. The more common one is the picture QR code. The safer one in the industry is the SMS verification code. Of course, there are also some puzzle verification codes and QR codes with artificial intelligence. Wait, […]
SpringBoot: SpEL makes complex permission control easy!
The path to growth as a programmer Internet/Programmer/Technology/Data Sharing focus on This article should take approximately 6 minutes to read. From: juejin.cn/post/7226674759626571833 1 Introduction 2 SpEL expression 3 Let’s do it Custom annotations Define aspects 4 Permission verification First, introduce SpEL: Then, get the expression we need from the annotation. Expression parsing Custom parsing method […]
SpringBoot integrates Dubbo and Nacos
1. Overview Dubbo is a high-performance, lightweight open source distributed service framework, which was early open sourced by Alibaba. It provides distributed service management functions such as service registration, discovery, invocation and load balancing, which provides great convenience for distributed development. The core concepts of dubbo include: Provider (consumer provider), Consumer (service consumer), Registry (registration […]
vue3 + springboot3 large file breakpoint resume upload
Preface: 1. Requirements: Files above 10MB support breakpoint resumption and require a real-time progress bar. 2. There are currently two ways to implement breakpoint resumption on the Internet. The main difference is whether the action of cutting files is on the front end or the back end. (This article implements cutting files on the front […]
Comment module of springboot personal blog system
Personal blog system development is briefly divided into five modules Homepage Login function Comment management Article management Email management A complete blog system, the front-end page can display and publish comments, comment users can reply to each other, and the back-end can manage the comment content. Due to limited space, the article comments of this […]