Springboot security management

Introduction to safety management In the actual development, some applications usually need to consider the security problem. For example, for some important operations, some requests can be executed only after the user verifies his identity, and some requests can be executed only after the user has specific permissions. The significance ...

Posted by iceman2g on Fri, 18 Feb 2022 17:32:41 +0100

Summary of learning Mybatis framework

Learning Mybatis framework (persistence layer framework) - Introduction 1.1.1 what is a framework Framework is the redesign of the whole or part of the system, which is expressed as a method of interaction between a group of abstract component instances; Another definition holds that a framework is an application skeleton that can be customiz ...

Posted by benjam on Fri, 18 Feb 2022 17:05:10 +0100

Simple second kill system - optimization I (detailed notes)

Introduction and optimization process of simple second kill system windows native hardware configuration: 8-core 32G linux server hardware configuration: 2-core 4G Foreword, the optimized simple second kill system does not involve distribution, so naturally there are no technical points such as master-slave replication. Here, we should a ...

Posted by 22Pixels on Fri, 18 Feb 2022 17:03:17 +0100

Sentinel integrated Nacos data source

1.1 installation of Sentinel console stay https://github.com/alibaba/Sentinel/releases Download the jar package of the console from the page and put it in a folder on the server Start the console program with the following command, - dserver Port specifies that the port is 9010. If there is a port conflict, you can specify another port java ...

Posted by promovi on Fri, 18 Feb 2022 16:17:56 +0100

Mybatis's past and present life

JDBC When it comes to java operating database, JDBC must be inexcusable. Mybatis actually encapsulates JDBC // Register JDBC Driver Class.forName("com.mysql.cj.jdbc.Driver"); // open a connection conn = DriverManager.getConnection("jdbc:mysql://localhost:3306/spring-shiwu? characterEncoding=utf-8&serverTimezone=UTC", "root", "1234 ...

Posted by nikbone on Fri, 18 Feb 2022 15:59:31 +0100

The life cycle of Java backend Android activity

Activity lifecycle Activities in Android can be superimposed, which also means that each activity should have a corresponding life cycle. The onCreate method is used every time, which is also an important method in the life cycle function The person in charge of each activity is called the activity stack. Obviously, one activity can be superi ...

Posted by 00king00 on Fri, 18 Feb 2022 15:56:17 +0100

spring boot integrates quartz

catalogue summary Preparation dependence Configure Design scheduled tasks summary In previous projects, the spring boot's built-in scheduled task function was basically used to manage scheduled tasks. The benefits of this are Easy to use, and its functions are integrated in spring boot out of the boxThe code is easy to write and clear. ...

Posted by podarum on Fri, 18 Feb 2022 15:52:00 +0100

Record a fastdfs high and send the problem of upload failure

Recently, I received a request to convert text into voice MP3 files, store them in fastdfs, and then store the file path into the database. Our fastdfs is version 5.05, and the fastdfs tool class has been changed to support concurrency public class FastClient<main> { private static Logger logger = Logger.getLogger(FastClient.class ...

Posted by gmcalp on Fri, 18 Feb 2022 15:48:36 +0100

05 bucket sort, count sort and cardinality sort of sorting operation

Because the time complexity of bucket sorting, counting sorting and cardinal sorting is o(n) linear, these three sorting methods belong to linear sorting. The principles of these three algorithms are not difficult, and the analysis of time complexity and space complexity is relatively simple, so we will focus on the applicable scenarios of the ...

Posted by Misticx on Fri, 18 Feb 2022 14:48:23 +0100

Camunda development record of workflow -- common API s and processes

What is it A workflow engine is Activiti I don't care much about the introduction of many other places Do what? What I recorded this time is that only one shell of the workflow engine is used for secondary packaging development The specific process is: 1,Pass on his own Json Structure. Of course, you need to ad ...

Posted by sparks on Fri, 18 Feb 2022 14:09:32 +0100