Aggregation and Dependency of Maven Projects

Aggregation and Dependency of Projects 1 Aggregation When a project is multi-module, how to build multiple modules at once instead of executing Maven commands separately under multiple modules. 1.1 Parent-Child Structure <!--Parent Module netsales-poss In packaging Must be pom--> <packaging>pom</packaging> <!--Parent Modu ...

Posted by Illusion on Thu, 25 Jun 2020 18:31:40 +0200

Web3j+Maven Development of Taifang Application

In this tutorial, we will learn how to create a Maven-managed Java Ethernet project in Eclipse, connect Ethernet nodes using the web3j library, make JSON-RPC API calls, and display the results. Learn in the language you are familiar with and develop in Taifang DApp: Java | Php | Python | .Net / C# | Golang | Node.JS | Flutter / Dart web3j is ...

Posted by sonnieboy on Sat, 20 Jun 2020 03:54:08 +0200

Learn Java proxy mode, this one is enough

This article will explain the agent mode through its concept, characteristics, and finally realize the use scenarios of each agent mode through coding. What is agent mode Agent pattern is a programming design pattern in Java language. There are two important roles: the principal class and the agent class. The agent class can call the delegate c ...

Posted by Chris.P on Fri, 19 Jun 2020 11:36:09 +0200

Dubbo RPC communication of Spring Cloud series

About Dubbo       Official website: http://dubbo.apache.org/zh-cn/   Github: https://github.com/apache/dubbo On February 15, 2018, dubbo, Alibaba's service governance framework, successfully became an Apache foundation incubation project. Apache Dubbo is a high-performance and lightweight open source Java RPC framework, which provides th ...

Posted by bitt3n on Wed, 17 Jun 2020 04:52:16 +0200

Spring Boot - In-depth Principles - Customize starter

2.2.3 Custom starter Spring Boot is made up of many Starters (a series of starter plug-ins that are automatically configured), and it is also because of starter that Spring Boot is popular. starter is a very important part of Spring Boot and can be understood as a pluggable plug-in because it allows developers who use a feature to ignore the p ...

Posted by moe on Mon, 15 Jun 2020 21:25:55 +0200

Configuration and principle analysis of Spring Security Oauth2 SSO single sign on

  Single sign on (SSO) is a one-time authentication login by users. After a user logs in on the identity authentication server once, he / she can gain access to other associated systems and application software in the single sign on system. At the same time, this implementation does not require the ...

Posted by Jay on Mon, 15 Jun 2020 04:15:32 +0200

Spring Cloud notes - Hystrix circuit breaker

1. Overview 1. Problems faced by distributed system In the complex distributed architecture system, the failure of mutual service calls cannot be avoided. If the call link of A service is relatively long, the probability of such call failure will be higher. For example, if A calls B, B calls C, C c ...

Posted by pelleas1022 on Sun, 14 Jun 2020 10:11:18 +0200

Three exchange types of RabbitMQ

1, Direct type 1. Schematic overview As shown in the figure, in this mode, the producer sends messages to the switch in the broker (there can be multiple exchange switches in a broker, and one exchange can be bound to multiple queue queues). The switch distributes the messages to the queue correspondi ...

Posted by kankaro on Fri, 12 Jun 2020 05:58:55 +0200

Java rules engine Easy Rules

1. Overview of Easy Rules Easy Rules is a Java rules engine inspired by a piece called< Should I use a Rules Engine? >The article of The rule engine is to provide an optional calculation model. Unlike the usual imperative model, which consists of commands with conditions and cycles in turn, the rule engine is based on the production rule ...

Posted by lrdaramis on Thu, 11 Jun 2020 06:11:10 +0200

Spring asynchronous call, multithreading, one line code implementation

Spring asynchronous call, multithreading summary quick get start Asynchronous callback Asynchronous exception handling Custom actuator 1. Overview In daily development, our logic is synchronous calling and sequential execution. But in some cases, we want to call asynchronously to separate t ...

Posted by kumschick on Tue, 09 Jun 2020 08:13:32 +0200