Transport layer for Dubbo in-depth analysis
Transporter class analysis
dubbo provides a unified bind and connet interface for communication framework, which is easy to manage and extend. It is encapsulated in the interface class: Transporter:
@SPI("netty") public interface Transporter {
@Adaptive({Constants.SERVER_KEY, Constants.TRANSPORTER_KEY}) Server bind(URL url, Chan ...
Posted by kidintraffic on Sat, 19 Jan 2019 04:18:12 -0800
dubbo Learning - From demo: hello world
dubbo Learning - From demo: hello world
Label (Space Separation): dubbo demo
[TOC]
0. outline
In the previous article, we have turned the dubbo project into a gradle build tool and imported it into eclipse. In this article, we start with the demo of the source code and build a working environment. Next, I will analyze the demo source code and ...
Posted by hanhao on Wed, 09 Jan 2019 13:30:17 -0800
Spring Boot+Dubbo+Maven+ZK Build Enterprise Distributed Micro Services
Service Registry
Service registry can achieve service external unification through specific protocols. Dubbo mainly provides the following types of service registries:
Multicast Registry
Zookeeper Registry
Redis Registry
Simple Registry
In this paper, ZK is used as the service registry, and the construction of ZK environment is not i ...
Posted by jimmy patel on Sun, 06 Jan 2019 13:09:09 -0800
Complete example of Dubbo + zookeeper + jsp + spring MVC + Spring + mybatis + MySQL + maven
The project is divided into three parts, which are divided into three Maven projects (web-based, so the last one created for maven)
1. Interface Definition and Entity Class Definition (api+pojo) - - maven creates a java project and packages it into jar
2.dubbo's service provider: Define the interface implementation. The bottom layer uses mybati ...
Posted by mydimension on Sun, 16 Dec 2018 03:03:04 -0800