V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
LancerZ
V2EX  ›  Python

如何 Java 代码里调用 Python 的接口

  •  
  •   LancerZ · 2019-04-15 16:20:19 +08:00 · 2337 次点击
    这是一个创建于 1836 天前的主题,其中的信息可能已经有所发展或是发生改变。
    6 条回复    2019-04-15 16:51:29 +08:00
    LancerZ
        1
    LancerZ  
    OP
       2019-04-15 16:23:02 +08:00
    项目本身是 java 实现的,现在要实现一个用 python 写的功能,不知道怎么实现
    qiyuey
        2
    qiyuey  
       2019-04-15 16:23:50 +08:00 via Android
    RPC 调用
    wind3110991
        3
    wind3110991  
       2019-04-15 16:28:06 +08:00
    1、python 提供独立 http 接口,部署服务后,restful 调用;
    2、搭建微服务平台( SpringCloud、ServiceMesh )注册服务,RPC 调用;
    lihongjie0209
        4
    lihongjie0209  
       2019-04-15 16:30:02 +08:00
    chengyulong
        5
    chengyulong  
       2019-04-15 16:38:35 +08:00
    http 最简单的啊
    noobsheldon
        6
    noobsheldon  
       2019-04-15 16:51:29 +08:00
    protocolBuffer、Thrift 都可以
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3274 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 12:21 · PVG 20:21 · LAX 05:21 · JFK 08:21
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.