Eight common internal sorting algorithms implemented in Java

catalogue 1, Insert class sort 1. Insert sort2. Hill sortComplexity analysis2, Exchange class sorting 3. Bubble sorting4. Quick sortComplexity analysis3, Select sort 5. Simple selection and sorting6. Heap sortingComplexity analysis4, Other internal sorting 7. Merge and sort8. Cardinality sortingComplexity analysisReference article: ...

Posted by elraj on Fri, 24 Dec 2021 16:14:03 +0100

Introduction to Spring Boot Actuator

Recently, I was watching the Spring Cloud micro service practical war. Since the introduction to the activator monitoring endpoint has been outdated in the past few years, this article is updated. Spring Boot version: 2.5 three First meet actor It is very simple to introduce this module into the existing Spring Boot application, jus ...

Posted by warriors2003 on Fri, 24 Dec 2021 14:32:32 +0100

spring learning - configuration file - basic configuration and circular dependency configuration

spring learning 1, spring configuration file 1.1 basic configuration of bean tag Basic properties id: the unique identifier of the Bean instance in the Spring container;class: the fully qualified name of the Bean for instance: <bean id="userDao" class="com.mec.dao.impl.UserDaoImpl"></bean> 1.2 scope of bean tag Value ...

Posted by Valect on Fri, 24 Dec 2021 11:44:44 +0100

Basic introduction and usage of mybatis plus

mybatis_plus basic introduction I Basic introduction Mybatis plus (MP for short) is an enhancement tool for mybatis. Based on mybatis, it only makes enhancements and does not change. It is born to simplify development and improve efficiency. This is an official definition. For more introduction and features of mybatis plus, please refer to My ...

Posted by Emperio on Fri, 24 Dec 2021 10:25:54 +0100

Spring 5 framework learning

preface: This article is my first-order notes on learning the spring 5 framework from Shang Silicon ValleyAfter learning, improve and understand yourself through later changes. Personally, I think this article can more clearly and easily understand the relevant knowledge of getting started with spring 5.The code part of the article interce ...

Posted by Fluoresce on Fri, 24 Dec 2021 07:46:11 +0100

Great wisdom teaches you to learn Java | Spring Boot. Use custom annotations to record operation logs

preface No matter what application we develop, there will be a functional requirement - recording operation log. With the recording of operation log, we can not only ensure the completion of the application, but also trace the source through the operation log in case of system crash due to misoperation. It can be said that the function of reco ...

Posted by maxrisc on Fri, 24 Dec 2021 07:12:50 +0100

Spring Boot project startup analysis and preliminary project implementation (PROJECT01_DAY01_02)

3.2 project startup process analysis (understanding) Find the entry class of the project (described with @ SpringBootApplication annotation), then run the startup class to detect the startup process. When SpringBoot is started, the console will show the identification as shown in figure-14: Figure-14 What happened when the project started? I ...

Posted by phplearner on Fri, 24 Dec 2021 07:09:15 +0100

Dynamic data source switching of 30 classes of handwritten Spring core principles

This article is excerpted from Spring 5 core principles Before reading this article, please read the following: 30 classes of custom ORM for handwritten Spring core principles (Part 1) (6) Custom ORM of 30 classes handwritten Spring core principles (Part 2) (7) 4. Underlying principle of dynamic data source switching Here is a brief intr ...

Posted by GodzMessanja on Fri, 24 Dec 2021 05:31:41 +0100

Fast access to Google two-step authentication Google Authenticator

(1) Introduction Since you read this article, you should know what Google's two-step authentication is for. Here is another link to download the app (apkpure search Google authenticator) Explanation of verification principle: Find the 32-bit random code bound before the login user in the database (the code is generally stored in the datab ...

Posted by whare on Fri, 24 Dec 2021 03:47:55 +0100

Spring -- declarative transaction

Spring - declarative transactions Our journey is the sea of stars, not the dust of the world Declarative transaction Review transactions Transaction is very important in the project development process. It involves the problem of data consistency, which should not be careless!Transaction management is a necessary technology in ...

Posted by ready2drum on Thu, 23 Dec 2021 22:37:06 +0100