Coder Social home page Coder Social logo

Comments (5)

dolt131943 avatar dolt131943 commented on May 25, 2024 1

HttpProtocol你看看源代码就知道了,你看一下也就知道自己如何实现一个JSONRPCProtocol的协议了,不难,但使用非Dubbo的协议都存在一个问题,如何进行服务注册与服务发布?以及如何进行负载均衡等?

from dubbo.

dolt131943 avatar dolt131943 commented on May 25, 2024

自行实现一个HTTP的JSON协议Protocol,类似Hessian和Dubbo。

from dubbo.

liuluo129 avatar liuluo129 commented on May 25, 2024

文档上不是说明是支持json的吗?而且源码里也已经有了HttpProtocol,不知道楼上是自己实现的吗?方便的话发份源码看看吗,我的邮箱[email protected],谢谢

from dubbo.

atttx123 avatar atttx123 commented on May 25, 2024

同求代码 @dolt131943
这个非dubbo协议主要是为了调试和测试使用的,不会上线服务

from dubbo.

diecui1202 avatar diecui1202 commented on May 25, 2024

Hi, @liuluo129 Now you can try rest protocol: https://github.com/apache/incubator-dubbo-docs/blob/master/dubbo-user-book/rest.md

Feel free to reopen it if you also have any question.

from dubbo.

Related Issues (20)

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.