Spring Boot: Spring Boot integrates Mapper4

1, Project preparation Use the source code of the previous chapter directly 2, Add mapper4 dependency <!-- mapper4 --> <dependency> <groupId>tk.mybatis</groupId> <artifactId>mapper-spring-boot-starter</artifactId> <version>2.0.2</version> ...

Posted on Thu, 20 Feb 2020 20:49:43 -0800 by parkie

Springboot Source Series - Automatic Configuration

Why to learn Springboot Sourcebook, on the one hand, is that Springboot has been used so widely that a better understanding of it is necessary for your own development work, because if you encounter or business scenarios that require some slightly more advanced Springboot extensions and applications, you may not understand it.On the other hand, ...

Posted on Thu, 20 Feb 2020 13:09:58 -0800 by Broniukas

Amazing! Our boss doubled my springboot project concurrency in half an hour

backgroundOccasionally, there are some slow requests in the production environment, resulting in system performance degradation and throughput degradation. Here are some optimization suggestions. programme1. Under to replace tomcatMost e-commerce websites are short requests, and the response time is generally 100ms. At this time, you can repla ...

Posted on Wed, 19 Feb 2020 02:31:11 -0800 by Morbius

SpringBoot -- Application Event

Spring events provide support for message communication between Bean and Bean. After a Bean finishes processing a task, we hope that another Bean knows and can handle it accordingly. Then we need to let a Bean listen to the events sent by the current Bean. Spring events need to follow the following process: Custom events, integrating Applicati ...

Posted on Sat, 15 Feb 2020 09:40:53 -0800 by mikevarela

Source code analysis of initializer of springboot source code

In the previous article, we introduced how to use the initializer Let's take a look at the implementation principle of the initializer First, we need to create a springboot project, and then start to trace the source code package com.jun.lee; import org.springframework.boot.SpringApplication; imp ...

Posted on Thu, 13 Feb 2020 07:27:24 -0800 by Adastra

[SpringBoot MQ Series tutorial] RabbitMq initial experience

[SpringBoot MQ Series tutorial] RabbitMq initial experience The advantage of mq in asynchronous decoupling peak cutting is very prominent. Now many projects will use it. Mastering the knowledge of mq and how to use it smoothly can be said to be a necessary professional skill point Next, we enter the learning process of rabbitmq <!-- more ...

Posted on Mon, 10 Feb 2020 05:00:51 -0800 by MaxD

Spring Boot: Custom starter

In Spring Boot, the most commonly used is the starter. Starter can be understood as a pluggable plug-in. For example, if you want to use jdbc plug-in, you can use Spring Boot Starter jdbc. As the version goes on, the starter family grows. In the traditional Maven project, some layers and components are usually divided into modules to manage, so ...

Posted on Sun, 09 Feb 2020 10:33:04 -0800 by allanonschick

SpringBoot integrated Log4j

(1) Add dependency in pom.xml <!--Remove springboot Default log--> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter</artifactId> <exclusions> <exclusion> <groupId>org.spri ...

Posted on Sun, 09 Feb 2020 07:07:54 -0800 by Arc

Several case s where transactions for the SpringBoot series of tutorials do not work

Several case s where transactions for the SpringBoot series of tutorials do not work Previous posts on declarative transactions @Transactional use posture, knowing only that the correct posture may not be enough, and what scenarios do not work to avoid pit mining.This article will focus on a few case s where transactions do not take effect & ...

Posted on Tue, 04 Feb 2020 17:03:37 -0800 by Rupuz

Vue Cli3+SpringBoot

Follow today The blogger Learn the back-end registration encryption and login decryption functions. 1. To be honest, I didn't understand the application of Shiro framework in springboot. So I put the code to record what I did: First, the realm class of the realm package: package realm; import com.exa ...

Posted on Mon, 03 Feb 2020 08:07:24 -0800 by Kunax