Giter VIP home page Giter VIP logo

dubbo-demo's Introduction

dubbo-demo

总结

  1. 运行顺序 先启动demo-provider中的[Application.java], 后启动demo-consumer中的Application。
  2. 启动demo-provider中如若遇到端口占用问题,执行以下操作:
ss -tnlp | grep 20880  #得到pid
Kill -9 pid  #杀死该进程`
  1. 接口 demo-provider和demo-consumer相同的地方是service层有一套一模一样的接口,但是接口实现类只在demo-provider中,并且同一个接口可以有不同的实现。

  2. 打jar包 demo-provider可能需要打成jar包执行在多个机器上面,打包过程有2步:配置pom -> 在IDEA执行package命令 。具体步骤在~/chen-linux/notes/dubbo整合zookeeper的使用.docx中。

  3. Dubbo、zookeeper关系调用

  4. 访问dubbo-admin 先从github上面把dubbo项目克隆到本地,项目地址如下:https://github.com/alibaba/dubbo.git 执行11条的命令

      最后,在浏览器输入localhost:8080,输入用户名:root, 密码:root
便可进入

dubbo-demo's People

Watchers

James Cloos avatar cymin avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.