Use of SpringBoot cache annotations

I've been busy recently and haven't had time to update. In the last article, I talked about how to use Redis for caching. At the end of the article, I mentioned SpringBoot's support for caching. This article will talk about how to use SpringBoot. 1. SpringBoot's support for caching For SpringBoot's support for caching, ...

Posted by Sh0t on Sun, 04 Dec 2022 15:57:50 +0300

Spring Security: Basics

1. Getting to know Spring Security first1.1 Spring Security concept  Spring Security is a security framework implemented by Spring using AOP thinking and based on servlet filters. It provides a complete authentication mechanism and method-level authorization functions. It is a very good permission management framework. Spring S ...

Posted by msnhockey on Wed, 30 Nov 2022 20:01:39 +0300

Xuanzi Java Basic Notes 2

User interaction Basic Scanner package CH02_JAVAProcessControl; //Basic Scanner import java.util.Scanner; //Guide package public class XZ01_UserInteraction { public static void main(String[] args) { Scanner input = new Scanner(System.in); //Create a Scanner object System.out.println("Please enter 1"); if (input.h ...

Posted by marsooka on Mon, 28 Nov 2022 07:52:35 +0300

Detailed JDBC usage

Introduction to JDBC Java Database Connectivity, (Java Database Connectivity, referred to as JDBC) is an application programming interface used in the Java language to regulate how client programs access the database, and provides methods such as querying and updating data in the database. JDBC is also a trademark of Sun Microsystems. We usua ...

Posted by naomi385 on Sun, 27 Nov 2022 20:52:51 +0300

Chapter 2-4-2 Introductory case of rule engine Drools - business rule management system - componentization - middle platform

3. Drools entry case A full set of codes and materials are provided in full, click here to download This section uses an introductory case of Drools to let everyone have a preliminary understanding of how to use Drools and have an overall concept of Drools. 3.1 Description of business scenarios Business scenario: Consumers purchase books in th ...

Posted by lmninfo on Wed, 23 Nov 2022 01:22:10 +0300

Implementation of paging in JavaWeb - based on Mysql (general)

I believe you can also see the paging effect on the website! So now let's take a look at his ideas, codes and renderings.General pagination based on MySql database The core idea of ​​general paging: send the last query request again, but the page number has changed Implementation steps: 1) Query all data first Junit test     baseDao&l ...

Posted by apoc- on Tue, 22 Nov 2022 20:07:21 +0300

Spring AOP (aspect-oriented programming) and AspectJ framework to achieve AOP (annotation)

What is AOP (1) Aspect-oriented programming (aspect), the use of AOP can isolate each part of the business logic, so that the coupling degree between the parts of the business logic is reduced, the reusability of the program is improved, and the efficiency of development is improved. (2) Popular description: Add new functions to the main funct ...

Posted by koen on Sun, 20 Nov 2022 00:31:39 +0300

21-day learning challenge java IO flow

1. Character stream1.1 Why does a character stream appear [Understanding] Introduction to character streams Since it is not particularly convenient to operate Chinese with byte streams, Java provides character streams Character stream = byte stream + code table Chinese byte storage method When copying a text file with a byte stream, the te ...

Posted by Xander756 on Fri, 18 Nov 2022 08:18:01 +0300

Kafka source code - execute IO events

Execute IO events As mentioned above, the user's message records are converted into memory records and stored in the flight window, and the request information is put into the Kafka channel and passed through OP_WRITE event to wake up IO, where IO logic is started in IO rotation training The core logic of calling the poll method of Netw ...

Posted by Atanu on Mon, 14 Nov 2022 22:02:12 +0300

[Akka] Akka concurrent programming design

1 Overview Reprinted: Akka concurrent programming design 2. Responsive system design Akka is known to be a reactive platform, more specifically, it is part of the Typesafe reactive platform. The Reactive Manifesto contains 4 principles or design goals: agility, scalability, fault tolerance, and event-driven design. Sensitivity Applicatio ...

Posted by MBK on Sun, 13 Nov 2022 12:52:20 +0300