Introduction to spring boot project

Recently, I watched a lot of spring boot teaching videos. I felt they were too long, and there was no actual combat of the project. Today, according to a blogger to write a simple user system to add, delete, modify and check, the source code can refer to the second issue of the article. This project use ...

Added by ecco on Sun, 28 Jun 2020 08:52:33 +0300

With all due respect, you may not be able to use java Part 7: sorting collections like SQL

Before I start, let me ask you a question: we now have an Employee class. @Data @AllArgsConstructor public class Employee { private Integer id; private Integer age; //Age private String gender; //Gender private String firstName; private String lastName; } Do you know how to sort a List set of Employee objects in reverse or ...

Added by mjh513 on Sun, 28 Jun 2020 03:41:37 +0300

Microservice - call of service

typora-copy-images-to: imgs Call between microservices 1. Call of microservice - Ribbon + resttemplate (independent component) 1. What makes Ribbon Ribbon is a client-side load balancer, which is used to call the load balancing of microservices between spring cloud 2. Load balancing between se ...

Added by PcGeniusProductions on Fri, 26 Jun 2020 09:14:44 +0300

Five minute experience of distributed transaction framework Seata

seata is an open source distributed transaction solution dedicated to providing high-performance and easy-to-use distributed transaction services. seata will provide users with AT, TCC, SAGA and XA transaction modes, and build a one-stop distributed solution for users. The purpose of this tutorial is to provide a quick start to the case of seat ...

Added by Cogen on Thu, 25 Jun 2020 07:25:46 +0300

Distributed timing task -- XXL job learning: source code analysis -- actuator startup process

Distributed timing task -- XXL job learning (2): source code analysis -- actuator startup process preface 1, Start of actuator 1.1 analysis of the core class XxlJobSpringExecutor 1.1.1 initJobHandlerRepository() 1.1.2 initJobHandlerMethodRepository() 1.1.3 GlueFactory.refreshInstance(1) 1.1.4 super.start() ...

Added by Azad on Thu, 25 Jun 2020 05:17:05 +0300

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