Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
JeeSpringCloudV3.0
Commits
2c5e1357
Commit
2c5e1357
authored
Nov 16, 2018
by
Sun
Browse files
no commit message
parent
f1767637
Changes
1
Hide whitespace changes
Inline
Side-by-side
JeeSpringDubboProvider/DubboProvider说明.txt
View file @
2c5e1357
1.把J
eeSpringCloud
项目另存为J
eeSpringDubboProvider
项目
1.把
JeeSpringClou
d项目另存为Je
eSpringDubboProvider项
目
1.1
开启a
pplication.yml
的d
ubbo
服务配置项;注解dubbo客户端配置项
1.1
开启a
pplication.yml
的d
ubbo
服务配置项;注解dubbo客户端配置项
1.2
1.2
在J
eeSpringDubboProvider
项目内的
在J
eeSpringDubboProvider
项目内的
provider
端服务层
provider
端服务层
开启注解
:@com.alibaba.dubbo.config.annotation.Service(interfaceClass = IXXXXService.class,version = "1.0.0", timeout = 60000)
开启注解:
@com.alibaba.dubbo.config.annotation.Service(interfaceClass = IXXXXService.class,version = "1.0.0", timeout = 60000)
在J
eeSpringCloud
项目内的
在J
eeSpringCloud
项目内的
consumer
端控制层
consumer
端控制层
开启注解
:@Reference(version = "1.0.0")
开启注解:
@Reference(version = "1.0.0")
2.application.yml(
服务端和调用端的配置不一样
)
2.application.yml(
服务端和调用端的配置不一样)
3.
启动
zookeeper
3.
启动z
ookeeper
4.
启动
dubbo provider
4.
启动d
ubbo provider
5.
启动
dubbo consumer
5.
启动d
ubbo consumer
6.使用server模块测试。
6.使用server模块测试。
\ No newline at end of file
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment