Unfortunately, Spring Bean initialization / destruction has so many postures
Source: http://1t.click/bfHN
I. Preface
The daily development process sometimes needs to load some resources after the application is started, or release resources before the application is closed. The spring framework provides related functions. Around the Spring Bean life cycle, you can initialize resources in the Bean creation process and ...
Posted by Gnub on Mon, 25 Nov 2019 20:17:54 +0100
bjsxt learning notes: the most basic use of Dubbo
I. background of Dubbo's birth (excerpt Dubbo official website - Introduction - background)
II. Dubbo structure chart (excerpt) Dubbo official website - Introduction - Architecture)
3. Dubbo core dependency (jar package): Dubbo, zkclient
IV. construction methods of Dubbo project: profile and annotation
V. core configuration of Dubbo project ...
Posted by jobe1 on Sat, 09 Nov 2019 14:53:17 +0100
The docker k8s cluster deploys tomcat and uses one image to increase the reusability of the image.
Written in the front, k8s clusters have been set up. Please refer to the previous article for specific steps.
Write the Dockerfile file to create a public image. Each time tomcat deploys, it directly uses the image without build ing the image every time.
#At first, I wanted to use tomcat's official image, but I had no choice but to use diban ...
Posted by thankqwerty on Sat, 02 Nov 2019 15:13:20 +0100
dubbo Initial Microsoft Service Client Server Configuration
Links to the original text: http://www.cnblogs.com/JAYIT/p/9645728.html
Normally, a service will not only be a client or a server. Generally, microservices are services and services calling each other. So, how to configure them? Nex ...
Posted by atticus on Sun, 06 Oct 2019 05:39:58 +0200
Talk about dubbo's Connection Ordered Dispatcher
order
This article mainly studies dubbo's Connection Ordered Dispatcher.
ConnectionOrderedDispatcher
dubbo-2.7.3/dubbo-remoting/dubbo-remoting-api/src/main/java/org/apache/dubbo/remoting/transport/dispatcher/connection/ConnectionOrderedDispatcher.java
public class ConnectionOrderedDispatcher implements Dispatcher {
public static final Stri ...
Posted by petrosa on Fri, 04 Oct 2019 05:57:59 +0200
Java Micro Services: Service Consumer and Provider Setup
This article goes on to the last article, " Java Micro Services (1): Use of the dubbo-admin console , the previous article introduced the installation of the docker, zookeeper environment, and demonstrated the use of the dubbo-admin console by referring to the Dubbo website.The zookeeper service registry has been set up in the last article ...
Posted by mephistoo on Sun, 08 Sep 2019 06:44:48 +0200
Talk about dubbo's All Dispatcher
order
This article mainly studies dubbo's All Dispatcher.
Dispatcher
dubbo-2.7.3/dubbo-remoting/dubbo-remoting-api/src/main/java/org/apache/dubbo/remoting/Dispatcher.java
@SPI(AllDispatcher.NAME)
public interface Dispatcher {
/**
* dispatch the message to threadpool.
*
* @param handler
* @param url
* @return channe ...
Posted by depojones on Sat, 31 Aug 2019 06:55:35 +0200
Dubbo Operating Principle
I. SOA PatternsA brief introduction to the SOA pattern is helpful for us to understand Dubbo later.
What is the SOA model?
SQA (Service-Oriented Architecture) is a service-oriented architecture that splits different functional units of an application (understood here as services). Under this architecture, the project does not interact directly ...
Posted by bslevin on Mon, 26 Aug 2019 08:23:42 +0200
Introduction to Dubbo
Are you like me, making progress every day and getting stronger
introduce
Dubbo is a high-performance open source framework for Java RPC. It was originally opened-source by Ali on GitHub and later hosted by Apache. Dubbo's development documentation is very detailed and user-friendly. Dubbo website , Core Diagram:
RPC:Remote Procedure Call, rem ...
Posted by irkevin on Tue, 20 Aug 2019 04:23:23 +0200
Finally, I understand DUBBO SPI
I. DUBBO SPI usage scenarios
Dynamic loading of corresponding implementation classes according to configuration, SPI extensions have many classes:
II. dubbo spi extension point
(1) dubbo SPI Foundation:
Get the class name according to the key in META-INF file, and then get the instance of the clas ...
Posted by jokkis on Sat, 10 Aug 2019 13:08:05 +0200