Bean assembly, from Spring to Spring Boot

Since using Spring Boot, I have been using Spring Boot all the time. I can't look directly at Spring's code. The design concept that convention is greater than configuration enables it to be used out of the box without too much configuration. But because of its convenience, it means covering up many details, making developers who directly learn ...

Posted by den160593 on Thu, 19 Sep 2019 01:16:43 -0700

@ Qualifier Advanced Applications - Bulk Dependency Injection by Category

Each sentence Ross: Top pick may be aquatic, but MVP definitely doesn't. Preface stay Last article (on @LoadBalanced load balancing) At the end of this article, I put forward a very important question, and suggested that the small partners think deeply about it for themselves. This article mainly aims at this question and gives a unified answer ...

Posted by raguskra on Mon, 16 Sep 2019 21:13:00 -0700

The Use of mybatis-plus--Introduction

Links to the original text: https://www.jianshu.com/p/ceb1df475021 Preface: Mybatis is still popular in the persistence layer framework, and most projects are based on ssm. Although mybatis can operate database directly in xml through S ...

Posted by storyteller on Thu, 12 Sep 2019 03:16:48 -0700

Springboot Integrates Netty Initial Practice

Netty is a powerful communication framework, and has used MINA similar to him before. Although MINA has many functions, it needs to write its own encoder (filter data) when dealing with TCP's unpacking and sticking problem. Netty provides some me ...

Posted by Blicka on Wed, 11 Sep 2019 07:05:23 -0700

Common Annotation Configuration for SpringBoot

Annotation configuration of SpringBook Common annotations @Configuration From Spring 3.0, @Configuration is used to define configuration classes, which can replace xml configuration files. The annotated classes contain one or more methods annotated by @Bean. These methods will be scanned by Annotation Config Application Context or Annotation Co ...

Posted by noimad1 on Wed, 11 Sep 2019 00:37:59 -0700

Usage of Mybatis useGeneratedKeys parameter

In Mobile, there are three locations where the parameter "useGeneratedKeys" can be set: 1. Set the useGeneratedKeys parameter in the setting element. For databases that support automatic generation of primary keys, such as mysql, sql server ...

Posted by flemingmike on Tue, 10 Sep 2019 02:35:04 -0700

SSM Framework Integration

When you do not see the flower, it will be silent with your heart. When you come to see the flower, the color of the flower becomes clear for a moment, and you will know that the flower is not outside your heart. The previous chapter briefly introduc ...

Posted by blink359 on Mon, 09 Sep 2019 22:21:45 -0700

Spring Boot - Sweet Integration MyBatis & Annotation & Configuration

Preface Integrating Mybtis is very simple for Spring Boot. Through this article, you can get started quickly without pressure, but before I start, I want to talk about my version information: maven 3.2.5 jdk 1.8 Spring Boot 2.1.6 Create a project The automated configuration of idea is still used, but here we need to check the following depen ...

Posted by skyace888 on Sun, 08 Sep 2019 07:12:20 -0700

MyBatis Plus-7-Plug-in Extension

Plug-in Extension 1.1 Introduction to Mybatis Plug-in Mechanism 1.1.1 Plug-in mechanism: Mybatis can intercept the execution of the four object-related methods through the plug-in (Interceptor), and complete the dynamic change of relevant data according to the needs. Executor StatementHandler ParameterHandler ResultSetHandler 1.1.2 Plug-in Pri ...

Posted by keeB on Wed, 04 Sep 2019 21:13:54 -0700

Mybatis Source Chip-properties, Environment Label Resolution

Configuration information in configuration files and test classes: First, add properties and enviroments configuration to mybatis configuration file, and introduce external configuration db.properties <?xml version="1.0" encoding="UTF-8" ?&g ...

Posted by detalab on Mon, 02 Sep 2019 03:54:39 -0700