GithubHelp home page GithubHelp logo

codefans / dubbo-2.5.5 Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 2.0 1.64 MB

dubbo-2.5.5源码阅读和源码测试

License: Apache License 2.0

Java 98.01% CSS 0.38% JavaScript 1.37% Batchfile 0.06% Lex 0.04% Shell 0.13% Thrift 0.01%

dubbo-2.5.5's Introduction

Build Status Gitter

Dubbo is a distributed, high performance RPC framework which empowers applications with service import/export capabilities.

It contains three key parts, which include:

  • Remoting: a network communication framework providing sync-over-async and request-response messaging.
  • Clustering: a remote procedure call abstraction with load-balancing/failover/clustering capabilities.
  • Registration: a service directory framework for service registration and service event publish/subscription

For more details, please refer to dubbo.io.

Documentation

Quick Start

This guide gets you started with dubbo with a simple working example.

Download the sources(examples)

You’ll need a local copy of the example code to work through this quickstart. Download the demo code from our Github repository (the following command clones the entire repository, but you just need the dubbo-demo for this quickstart and other tutorials):

$ cd ~
$ # Clone the repository to get the source code.
$ git clone https://github.com/alibaba/dubbo.git dubbo
$ git checkout master
$ # or: git checkout -b dubbo-2.4.x

Build & Run

  1. Build the whole sources use the following maven command
$ cd ~/dubbo
$ mvn clean install -Dmaven.test.skip
$ # The demo code for this quickstart all stay in the `dubbo-demo` folder
$ cd ./dubbo-demo
$ ls
  1. Run demo-provider. Start the provider and export service
$ # Navigate to the provider part
$ cd ~/dubbo/dubbo-demo/dubbo-demo-provider/target
$ # unpack
$ tar zxvf dubbo-demo-provider-2.5.4-SNAPSHOT-assembly.tar.gz
$ cd dubbo-demo-provider-2.5.4-SNAPSHOT/bin
$ ls
$ # Start the provider
$ ./start.sh
  1. Run demo-consumer. Start the consumer and consume service provided by the provider above
$ # Navigate to the consumer part
$ cd ~/dubbo/dubbo-demo/dubbo-demo-consumer/target
$ # unpack
$ tar zxvf dubbo-demo-consumer-2.5.4-SNAPSHOT-assembly.tar.gz
$ cd dubbo-demo-consumer-2.5.4-SNAPSHOT/bin
$ ls
$ ./start.sh

For a more detailed tutorial of this demo, click here

Getting Help

  • Community
  • Releases
  • Contributors
  • Q&A

dubbo-2.5.5's People

Contributors

codefans avatar

Watchers

 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.