spring boot source parsing and startup process

First of all, spring boot is a simplified development framework with convention greater than configuration. If I look at the source code of spring boot, I think there are two directions. One is the process of spring boot based on spring container and some of its own startup. The other is the implemen ...

Added by PHPLRNR on Tue, 23 Jun 2020 08:49:04 +0300

Using Redis to implement the cut-to-program operation

This project is a Spring boot project Redis Cutting Programming Target: Add a comment to the method to cache when querying Method: Custom Note+AOP Section Programming step Say nothing but go directly to the code demonstration Step One Definition Notes @Retention(RetentionPolicy.RUNTIME) @Target( ...

Added by Bad HAL 9000 on Tue, 23 Jun 2020 05:27:47 +0300

dubbo of springboot series

dubbo of springboot series Introduction to dubbo Apache Dubbo`Is a high performance Java RPC framework.(1) High performance RPC calls for interface proxyProvides high-performance proxy-based remote invocation capabilities. Services are interface-granular and shield developers from the underlying details of remote invocations.(2) Intelligent Loa ...

Added by cleromancer on Sun, 21 Jun 2020 19:12:57 +0300

Authentication and authorization of spring security oauth2.0

In addition to oauth and shiro, we learn oauth 2.0 here 1.1 Authentication and authorization are two basic concepts to solve software system security. Authentication is to verify whether the user's identity is legal, and authorization is to verify whether the user has the authority to operate resou ...

Added by phpnwx on Sun, 21 Jun 2020 13:26:10 +0300

RocketMQ for reliable message final consistency

RocketMQ for reliable message final consistency Business description In this case, RocketMQ middleware is used to realize the final consistent distributed transaction of reliable messages and simulate the transfer transaction process of two accounts. Two accounts are in different banks (Zhang San is ...

Added by legomez2000 on Sun, 21 Jun 2020 09:31:11 +0300

Details of Spring Boot configuration file

Details of Spring Boot configuration file Spring Boot provides two commonly used configuration files, properties file and yml file. Their role is to modify the default value of Spring Boot auto configuration. Compared with the properties file, the yml file is younger and has many pits. yml determines the hierarchical relationship through space ...

Added by The_Black_Knight on Sun, 21 Jun 2020 08:20:11 +0300

MyBlog background development

Java back end interface and Vue front end 1. See the effect first publish an article Background login Blog details Java back end interface development: Using springboot+mybaitsPlus+shiro+jwt+lombok+redis; database mysql5.7+ Here, we use IDEA to develop the background interface. It's easy to create a ...

Added by sergio-pro on Sat, 20 Jun 2020 10:11:20 +0300

Redis deep adventure application

Article catalog install Infrastructure string set Quotation marks Options lock obtain release exists expire System clock Various key operations Expiration algorithm colony list quicklist rpush rpop lpop lpush lindex lrange ltrim llen blpop brpop hash set zset zrange zrevrange zcard Curren ...

Added by ralba1998 on Thu, 18 Jun 2020 06:11:24 +0300

Spring boot + durid + mybatis + docker for mysql read-write separation-2

Spring boot + durid + mybatis + docker for mysql read-write separation-2 preface Project structure Code interpretation Data source configuration DataSourceType DBContextHolder RouteDataSource DataSourceConfig SqlSessionFactoryConfig ReadOnly ReadOnlyAop mapper related classes Business test New use ...

Added by prakash on Wed, 17 Jun 2020 08:59:58 +0300

Spring Boot docking Alipay payment

Article catalog 1. Preliminary preparation 2. Coding 1. The configuration class can also be written to the Spring boot configuration file for more flexibility 2. Payment Service 3. Controller omitted 4. The front-end children request to get the returned script and execute it directly 1. Prelim ...

Added by nomad9 on Wed, 17 Jun 2020 08:14:17 +0300