Spring Boot2: Integrating Mybatis infrastructure with Spring Boot2

Warehouse Address: spring-boot-learningWelcome to star and fork, give some encouragement to the author Preface Mybatis was difficult to use initially, requiring various configuration files, entity classes, Dao layer mapping associations, and a large number of other configurations. mybatis-spring-boot-starter is Spring Boot+ Mybatis, which can b ...

Added by mapleleaf on Sat, 20 Jul 2019 16:21:01 +0300

Dubbo - Deep Configuration

Attribute configuration override rule: consumer side takes precedence over provider side, method takes precedence over interface configuration, and interface takes precedence over global configuration Load balancing, service downgrade, console dynamic control is generally used. 1. Start check: check="false" Normally, there are chec ...

Added by tsg on Fri, 19 Jul 2019 22:39:27 +0300

session sharing based on redis 5: [research on redis 5.x cluster application]

Build a session sharing module based on spring session. Here, a redis-based cluster (Redis-5.0.3 version) is designed as a POM component, which is directly configured as dependency in the pom.xml file in order to meet the need of sharing sessions among the subsystems of the entire Internet of Things platform and facilitate the use of each subsy ...

Added by jboy6t9 on Fri, 19 Jul 2019 06:55:59 +0300

Spring Cloud Learning: Feign Declarative Service Call

1. Introduction to Feign Ribbon was used before, but it would be troublesome to splice parameters for each interface. Feign can be understood as adding a layer of encapsulation to Ribbon so that we don't have to deal with those troublesome parameters when invoking the service. 2. Code Implementation Create a new Feign service pom.x ...

Added by jrd on Fri, 19 Jul 2019 06:46:04 +0300

SpringBook 9: Integrating Spring Data JPA

Author: Dream Chasing 1819 Original: https://www.cnblogs.com/yanfei1819/p/10910059.html Copyright Statement: This article is the original article of the blogger. Please attach a link to the blog article for reprinting. Preface In the previous chapters, we introduced ORM frameworks such as JDBCTemplate and MyBatis. Let's introduce Spring Data J ...

Added by TimUSA on Fri, 19 Jul 2019 05:42:53 +0300

Principle and Implementation of OAuth 2.0 Protocol: Protocol Implementation

Principles and Implementation Series of OAuth 2.0 Protocol (1) Protocol Principles (2) TOKEN Generation Algorithms (3) Protocol Implementation & emsp; & emsp; originally planned to explain the implementation of OAuth 2.0 protocol in java in detail in this article. After writing a paragraph, I suddenly felt that for developers, the be ...

Added by PseudoEvolution on Wed, 17 Jul 2019 22:36:41 +0300

Spring4-Container 9-Custom bean Feature

Spring provides several marker interface s that alter the behavior of beans in containers; they include InitializingBean and Disposable bean.The beans implementing both interfaces invoke the lattPropertiesSet() method of the former and the destroy() method of the latter when initializing and destructing. In modern Spring applications, The J ...

Added by [L3]sPARTAN on Mon, 15 Jul 2019 19:20:29 +0300

A simple introduction to spring data elaticsearch

In recent projects, elatic search is used to do data statistics, which I haven't studied before, just to learn now, we use spring data elatic search to use elatic search, which will be very simple to use. Let's summarize and record this process. There are many examples on the internet, but none of them is complete, and there are always fewer an ...

Added by lightkeepr on Sun, 14 Jul 2019 22:03:54 +0300

11. Use of Redis in Spring Boot

Reprinted: http://www.cnblogs.com/ityouknow/p/5748830.html Besides the support of common database by spring boot, nosql database is also encapsulated and automated. Introduction to redis Redis is the most widely used memory data storage in the industry. Redis supports richer data structures than memcached, such as hashes, lists, se ...

Added by kf on Sat, 13 Jul 2019 03:38:29 +0300

Simple Spring Framework Construction

Background Just knowing spring, it gives me the feeling that the encapsulated tool class will make our development easier, more energy will be put on business logic, of course, some excellent ideas of spring, what control inversion, face-to-face and so on. I don't know exactly how it works. Later, slowly understand.. try to build a spring fram ...

Added by charlesg on Fri, 12 Jul 2019 01:27:02 +0300