Message queue MQ -- Spring Boot integration RabbitMQ

Catalogue of series articles Message queue MQ (I) -- introduction, installation and use of management page of RabbitMQ Message queue MQ (II) -- Spring Boot integration RabbitMQ preface The full name of MQ is Message Queue. Message Queue is the communication method between applications. RabbitMQ is an open source implementation of AMQ ...

Added by jjk-duffy on Tue, 28 Sep 2021 11:12:56 +0300

MybatisPlus Usage Summary 2021-09-22

Mybatis application 1 Introduction to Mybatis and coding process 2 mapper agent development method 3 Global profile 4 Input mapping and output mapping 5 Association query 6 Delayed loading 7 Dynamic SQL 8 Mybatis cache Extended content 1 MybatisPlus Usage Summary 2 MyBatis Plus learning documentation 3 JDBC content review 4 Mybatis source co ...

Added by scraff on Sat, 25 Sep 2021 08:22:28 +0300

Spring Bean life cycle apart from memorizing eight part essay for interview, can you really use it?

Some problems in the initialization and destruction of spring beans. Some bug s can be quickly solved under the Spring exception prompt, but they don't understand the underlying principleSome errors are not easy to be found in the development environment, resulting in serious consequences on the production line 1 implicit injection using cons ...

Added by niclarke on Sun, 19 Sep 2021 22:50:45 +0300

Spring Boot integrates shiro's salt value encryption authentication

summary In the last blog, we mainly talked about custom Realm. The passwords used for user authentication are in clear text. This method is not desirable. Often, in our actual combat development, the user's passwords are stored in ciphertext, and the encryption algorithm is required to be irreversible. The famous encryption algorithms incl ...

Added by Karve on Sun, 19 Sep 2021 07:29:36 +0300

SpringBoot practice: integration with Vue element admin login

The previous blog has the login integration of Vue element admin: Login integration This time, a simplified version is written. Only the user/login, user/logout and user/info interfaces required by the front end are needed. Login realizes token generation. Logout directly exits login without operation logic. info takes the token after vuex exis ...

Added by tnylsej on Fri, 17 Sep 2021 23:45:35 +0300

Dependency management and automatic configuration of spring boot

Dependency management Create a springboot project according to the official springboot documentation We import the parent project <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.5.4</version> </parent&g ...

Added by mwilson2 on Mon, 13 Sep 2021 06:33:58 +0300

SpringBoot practice: JUnit5+MockMvc+Mockito do unit testing well

This picture was created by NickyPe stay Pixabay Publish on Hello, I'm looking at the mountain. Today, let's talk about how to integrate junit5, MockMvc and Mocktio in SpringBoot. Junit5 is the most widely used testing framework in the Java stack, and Junit4 once dominated the list. After upgrading to JUnit 5, in addition to adding ...

Added by bfinucan on Sun, 12 Sep 2021 03:08:51 +0300

Quick Start for the SpringBoot 2.0 Getting Started Tutorial, Project Build HelloWorld Example

This is an original joshua317 article, reprinted please note: Reprinted from joshua317 Blog SpringBoot 2.0 Getting Started Tutorial (1) Quick Start, Project Build Hello World Example - joshua317 Blog 1. Objectives You can quickly start a Spring web project yourself. 2. Brief introduction 1. What is Spring Boot Spring Boot is a new framewor ...

Added by stevieontario on Sat, 11 Sep 2021 19:46:44 +0300

clickhouse preliminary cognition

1, Introduction 1.1 what is a clickhouse ClickHouse is a columnar database management system (DBMS) for on-line analysis (OLAP). In the traditional line database system, data is stored in the following order: Data in the same row is always physically stored together. Common line database systems include MySQL, Postgres and MS SQL Server. ...

Added by ycoleman on Fri, 10 Sep 2021 07:03:58 +0300

After using MybatisPlus, I haven't written sql for a long time

(1) Preface When you first wrote JDBC, you needed to manually configure connection information by writing SQL statements one by one. Then Mybatis appeared, no more manual configuration of connection information was needed, and the SQL statements were isolated from the code, but Sql was unavoidable. Then Mybatis Plus appeared, which did not eve ...

Added by $kevan on Thu, 09 Sep 2021 00:57:02 +0300