egg.js如何与java服务端通信

Created on 23 May 2018  ·  5Comments  ·  Source: eggjs/egg

  • Node Version:
  • Egg Version:
  • Plugin Name:
  • Plugin Version:
  • Platform:
  • Mini Showcase Repository:

想要用eggjs做一个服务端的模块给java用,java是用的dubbo框架,除了webservice以外还有没有别的跟java端的通信方式?或者有没有办法支持dubbo服务的协议?

用node-zookeeper-dubbo已经实现了调用java端的Services,除了webservice如何让Java调用nodejs的服务?

Most helpful comment

All 5 comments

Translation of this issue:


How does egg.js communicate with java server

  • Node Version:
  • Egg Version:
  • Plugin Name:
  • Plugin Version:
  • Platform:
  • Mini Showcase Repository:

Want to use eggjs to do a server-side module to java, java is used dubbo framework, in addition to webservice, there is no other communication with java-side? Or is there a way to support the dubbo service protocol?

Using node-zookeeper-dubbo has been implemented to call the Java side of Services, in addition to webservice how to make Java call nodejs service?

大概 6月中旬 会提供相关的插件。目前实现是蚂蚁开源的 bolt 协议,dubbo 协议的对接也在计划中

先关了,后面楼主持续关注就好

@gxcsoccer 请问java跟egg进行通讯了,long,bigDecimal这些数据类型怎么进行转换?还是用json形式进行通讯,不过感觉对后端很不友好.

Was this page helpful?
0 / 5 - 0 ratings