1.导入项目
2.将DemoService打包到maven仓库中,修改dubbo-web中的pom文件引入DemoService jar
3.启动zookeeper,启动项目,访问
http://localhost:8080/dubbo-web/hello.do
返回 hello表示调用服务成功。
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
dubbo-test.rar (55个子文件)
dubbo-test
DemoService.jar 496B
zookeeper-3.4.6.zip 25.04MB
dubbo-service
pom.xml 4KB
.springBeans 474B
target
test-classes
m2e-wtp
web-resources
META-INF
maven
com
dubbo-service
pom.xml 4KB
pom.properties 232B
MANIFEST.MF 114B
classes
com
provider
Test.class 263B
service
DemoService.class 184B
impl
DemoServiceImpl.class 821B
dubbo-service.xml 2KB
.settings
org.eclipse.m2e.core.prefs 90B
org.eclipse.wst.jsdt.ui.superType.name 6B
org.eclipse.wst.common.project.facet.core.xml 252B
org.eclipse.wst.common.component 764B
org.eclipse.wst.jsdt.ui.superType.container 49B
org.eclipse.wst.validation.prefs 50B
.jsdtscope 639B
org.eclipse.jdt.core.prefs 430B
src
test
java
main
webapp
WEB-INF
web.xml 774B
index.jsp 57B
resources
dubbo-service.xml 2KB
java
com
provider
service
DemoService.java 107B
impl
DemoServiceImpl.java 346B
Test.java 51B
.project 1KB
.classpath 1KB
record.txt 191B
dubbo-web
pom.xml 5KB
.springBeans 593B
target
test-classes
m2e-wtp
web-resources
META-INF
maven
com
dubbo-web
pom.xml 5KB
pom.properties 220B
MANIFEST.MF 114B
classes
applicationContext-spring.xml 805B
log4j2.xml 394B
spring-mvc.xml 1KB
com
web
IndexController.class 934B
dubbo-web.xml 1KB
.settings
org.eclipse.m2e.core.prefs 90B
org.eclipse.wst.jsdt.ui.superType.name 6B
org.eclipse.wst.common.project.facet.core.xml 252B
org.eclipse.wst.common.component 752B
org.eclipse.wst.jsdt.ui.superType.container 49B
org.eclipse.wst.validation.prefs 50B
.jsdtscope 639B
org.eclipse.jdt.core.prefs 430B
src
test
java
main
webapp
WEB-INF
web.xml 2KB
views
index.jsp 91B
resources
applicationContext-spring.xml 805B
log4j2.xml 394B
spring-mvc.xml 1KB
dubbo-web.xml 1KB
java
com
web
IndexController.java 548B
.project 1KB
.classpath 1KB
共 55 条
- 1
资源评论
lengyulone
- 粉丝: 3
- 资源: 2
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功