Final
友情链接
往期整理
关于我
Ctrl+K
友情链接
往期整理
关于我
闲谈莫论人非 静坐常思已过
Other
🗒️
静 净 境
🗒️
奇思妙想
🗒️
选购参考
🧨
16-Github
📖
15-阅读清单
编程
🗒️
Bash
🗒️
Python
🗒️
Golang
Windows
🗒️
CMD
🗒️
WSL
🗒️
Software
🗒️
Windows
🗒️
SQL Server
Linux
🗒️
Ubuntu
🗒️
Centos
🗒️
Kali
🗒️
Arch
🗒️
Optimization
🗒️
podman
🗒️
用 awk 命令提取 JSON 数据的值列
🗒️
rsync+inotify数据实时同步
🗒️
k3s
🗒️
iperf3
🌌
Ansible
Docker
🖌️
DevOps
ELK
FTP
firewalld
GitLab
haproxy
tomcat
keepalived
Jenkins
openssh
sonarqube
zabbix
Nginx
Redis
Httpd
Rabbitmq
Zookeeper
Kafka
dubbo
Varnish
VNC
DNS
samba
pxe
powerdns
NFS
lvs
LAMP
iptables
cobbler
CDN
NTP
prometheus
Network
🗒️
Network
🗒️
H3C NX30 Pro 刷 openwrt 教程
🗒️
CCNA笔记
🗒️
CCNP笔记
Cloud Computing
🗒️
VPS
🗒️
Virtual machine
🗒️
阿里云计算产品笔记
🗒️
ACP笔记
Openstack
Kubernetes
🕒
KVM
服务器
🗒️
BMC
🗒️
H3C
🗒️
HP
🗒️
DELL
Application
🗒️
faker3
🗒️
openresty实现文件上传
🗒️
Freshrss
🗒️
Cloudflare 常用设置
🗒️
Cloudflare tun 使用
🗒️
Termux
🗒️
Alist
Mysql
🗒️
mysql二进制日志备份和恢复
🗒️
主从复制
Mariadb
dubbo
type
status
date
slug
summary
tags
category
icon
password
dubbo
apache
•
Updated Aug 31, 2023
Quick start
The most common way to use Dubbo is to run it in Spring framework. The following content will guide you to develop a Dubbo application with Spring framework's XML configuration. If you don't want to rely on Spring, you can try using API configuration.
https://dubbo.apache.org/docs/v2.7/user/quick-start/
服务动态发现
1、zookeeper
2、tomcat + dubbo admin
3、生产者
4、消费者
下载mvn3.1以上的版本,确保有java环境并加上环境变量
Maven - Download Apache Maven
Apache Maven 3.8.5 is the latest release and recommended version for all users. The currently selected download mirror is https://dlcdn.apache.org/. If you encounter a problem with this mirror, please select another mirror. If all mirrors are failing, there are backup mirrors (at the end of the mirrors list) that should be available.
https://maven.apache.org/download.cgi
mvn打包dubbo-admin
运行dubbo-admin
若mvn打包慢,可使用国内源
阿里云登录 - 欢迎登录阿里云,安全稳定的云计算服务平台
欢迎登录阿里云,全球领先的云计算及人工智能科技公司,阿里云为200多个国家和地区的企业、开发者和政府机构提供云计算基础服务及解决方案。阿里云云计算、安全、大数据、人工智能、企业应用、物联网等云计算服务。
https://packages.aliyun.com/maven
快速运行示例
生产者和消息者
Java 语言定义服务
示例使用 Spring XML 配置方式进行演示。 除此之外,Dubbo Java 还提供了包括注解、API、配置文件、spring boot等多种启动与接入方式,具体可参见配置章节具体描述。 下载示例代码 示例代码在 dubbo-samples 中 下载源码 $ git clone -b master https://github.com/apache/dubbo-samples.git 进入示例目录 $ cd dubbo-samples/dubbo-samples-basic 快速运行示例 在 dubbo-samples-basic 目录 编译 Provider $ mvn clean package -Pprovider 运行 Provider $ java -jar ./target/provider.jar 编译 Consumer $ mvn clean package -Pconsumer 运行 consumer $ java -jar ./target/consumer.jar 详细解释 定义服务接口 DemoService.java package org.apache.dubbo.samples.basic.api; public interface DemoService { String sayHello(String name); } 在服务提供方实现接口 DemoServiceImpl.
https://dubbo.apache.org/zh/docs/languages/java/java-specific/
上一篇
Kafka
下一篇
Varnish
Loading...
目录
Last update: 2024-09-10
文章列表
闲谈莫论人非 静坐常思已过
Other
🗒️
静 净 境
🗒️
奇思妙想
🗒️
选购参考
🧨
16-Github
📖
15-阅读清单
编程
🗒️
Bash
🗒️
Python
🗒️
Golang
Windows
🗒️
CMD
🗒️
WSL
🗒️
Software
🗒️
Windows
🗒️
SQL Server
Linux
🗒️
Ubuntu
🗒️
Centos
🗒️
Kali
🗒️
Arch
🗒️
Optimization
🗒️
podman
🗒️
用 awk 命令提取 JSON 数据的值列
🗒️
rsync+inotify数据实时同步
🗒️
k3s
🗒️
iperf3
🌌
Ansible
Docker
🖌️
DevOps
ELK
FTP
firewalld
GitLab
haproxy
tomcat
keepalived
Jenkins
openssh
sonarqube
zabbix
Nginx
Redis
Httpd
Rabbitmq
Zookeeper
Kafka
dubbo
Varnish
VNC
DNS
samba
pxe
powerdns
NFS
lvs
LAMP
iptables
cobbler
CDN
NTP
prometheus
Network
🗒️
Network
🗒️
H3C NX30 Pro 刷 openwrt 教程
🗒️
CCNA笔记
🗒️
CCNP笔记
Cloud Computing
🗒️
VPS
🗒️
Virtual machine
🗒️
阿里云计算产品笔记
🗒️
ACP笔记
Openstack
Kubernetes
🕒
KVM
服务器
🗒️
BMC
🗒️
H3C
🗒️
HP
🗒️
DELL
Application
🗒️
faker3
🗒️
openresty实现文件上传
🗒️
Freshrss
🗒️
Cloudflare 常用设置
🗒️
Cloudflare tun 使用
🗒️
Termux
🗒️
Alist
Mysql
🗒️
mysql二进制日志备份和恢复
🗒️
主从复制
Mariadb
文章列表