近期有一个平台项目,我们拆分了几个业务子系统,后期可能会部署到不同的服务器上。想请教下,有没有好的框架,能够支持本地部署时直接调用本地的API,而分布式部署的时候会变成RPC调用?最好是轻量化,简单一点。
备注:我现在这个项目的技术选型是JAVA的 springMVC + Mybatis + mysql;
伊谢尔伦2017-04-17 17:11:53
Hessian can be used, you can learn about it, it should meet your needs.
阿神2017-04-17 17:11:53
It is most convenient to use hprose across languages. No intermediate language is required, and no code generation is required.
天蓬老师2017-04-17 17:11:53
dubbo
In addition, there is the one from the Apache open source organization that can be called heterogeneously.
怪我咯2017-04-17 17:11:53
Dubbox is developed by Dangdang.com on the basis of dubbo. The current version is 2.8.4
dubbo is no longer updated and maintained.
The company I was interning at used this one. At that time, our project team planned to do secondary development of dubbo. We also tried thrift, but it felt too troublesome and cross-language.
Now the company writes everything by itself, the front end is php and the back end is java.
PHPz2017-04-17 17:11:53
Do it yourself and seek guidance from experienced experts. Several companies I have contacted do use Dubbo more. But my current project is still relatively small, and I don’t know if there is anything lighter and simpler.