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

Spring project autowiring & collection injection

1. Automatic configuration 1.1 What is dependency autowiring? The process that the IoC container automatically finds and injects into the bean according to the resources the bean depends on is called autowiring 1.2 What are the automatic assembly methods? By Type (Common)by nameBy construction methodAutowiring is not enabled 1.3 Prepare th ...

Posted by renu on Mon, 24 Oct 2022 08:38:13 +0300

The use and source code analysis of microservice gateway current limiting middleware gateway integration and standard library rate limiting device

Microservice gateway (8) Current limiting middleware gateway integration and use of time/rate rate limiter and source code analysis Current limiting principle The meaning of current limit Three powerful tools for high concurrency systems: cache ​ Improve system access speed and increase processing capacity, and increase cache for correspon ...

Posted by firedrop on Thu, 20 Oct 2022 18:59:35 +0300

2.1 Use epoll and reactor to achieve server million concurrency

foreword This article continues the previous article 2.1.1 Network io and select, poll, epoll , using epoll and reactor to achieve server million concurrency. Why do you need to implement a sock_item? Each fd corresponds to a sock_itemsock_item contains rbuffer, wbuffer, rlength, wlength, events, callback, which enables each fd to have an in ...

Posted by leoden on Sun, 16 Oct 2022 04:08:00 +0300

Configure Spring Security to redirect to a different page after logging in

1. OverviewA common requirement for Web applications is to redirect different types of users to different pages after login. For example, redirect standard users to the /homepage.html page and redirect admin users to the /console.html page.This article will show how to implement this mechanism quickly and securely using Spring Security. This ar ...

Posted by netbros on Mon, 10 Oct 2022 18:01:35 +0300

Talking about the Cron expression of the Spring Task timer

Preamble: 1. Spring Task is a lightweight timing task tool provided by Spring, which means that there is no need to add third-party dependencies, which is more convenient and easy to use than other third-party class libraries. 2. spring task is a timer class introduced after spring 3.0, which can be regarded as a lightweight quartz. Due to it ...

Posted by autumn on Thu, 06 Oct 2022 07:22:25 +0300

Quickly experience Spring Boot, learn how to use, run and package | SpringBoot 2.7.2 Learning Series

🚀 Quality resource sharing 🚀 Learning route guidance (click to unlock)Knowledge orientationCrowd positioning🧡 Python actual WeChat ordering applet 🧡Progressive classThis course is a perfect combination of python flask+WeChat applet, from project construction to Tencent cloud deployment and online, to build a full stack meal ordering syst ...

Posted by dimitar on Mon, 26 Sep 2022 21:24:21 +0300

Borrowing where variables exist, shepherds laugh with pointers, go lang 1.18 introductory refined tutorial, from Bai Ding to Hongru, go lang type pointer (Pointer) using EP05

What does the pointer mean? A pointer is a variable that stores the address of another variable in memory. A variable is a convenient placeholder for referencing a computer's memory address. A pointer variable can point to the memory address of any value and it can point to the memory address of that value. By analogy, the pointer is the c ...

Posted by ccb on Fri, 16 Sep 2022 21:52:50 +0300

Python homework - Crawler + visualization + data analysis + database (data analysis)

Personal blog Python homework - Crawler + visualization + data analysis + database (brief introduction) Python homework - Crawler + visualization + data analysis + database (crawler) Python homework - Crawler + visualization + data analysis + database (visualization) Python homework - Crawler + visualization + data analysis + database (dat ...

Posted by Dima on Sat, 13 Aug 2022 21:32:58 +0300

This article explains the database operation in python in detail

Database operation in python 1, Database programming interface 1. Connection object 2, Use built-in SQLite 1. Create database file2. Operate SQLite 3, Use of MySql database 3.1 install MySql3.2 setting environment variables3.3 start MySql3.4 using navicat for mysql management software3.5 installing PyMysql module3.6 connecti ...

Posted by fitzsic on Fri, 12 Aug 2022 21:54:17 +0300