Java 和 Python 在单个 Google App Engine 项目中一起使用

标签 java python google-app-engine google-cloud-datastore

我目前有一个在 Google App Engine 上运行的 Java 应用程序,但我想添加 Python 模块的 SearchableModel 提供的功能(当然是为了搜索功能)。是否可以在与 Java 代码相同的项目中运行 python 代码,只是在不同的版本下?如果不是,它们是否可以是针对单个数据存储运行的两个单独的应用程序(当前的 Java 应用程序和一个新的基于 Python 的搜索应用程序),但我认为这是不可能的。

最佳答案

可以在不同版本上运行 Python 和 Java 应用程序。

From :

Last but not least: remember that you can have different version of your app (using the same datastore) some of which are implemented with the Python runtime, some with the Java runtime, and you can access versions that differ from the "default/active" one with explicit URLs.

关于Java 和 Python 在单个 Google App Engine 项目中一起使用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4494539/

相关文章:

java - 为什么我的 Java 应用程序在 AMD 处理器上运行速度更快?

python - 使用 MSSQL 通过 QgsVectorLayer 加载矢量图层

google-app-engine - 父/祖先关系的引用属性?

java - 单击边框时 JComboBox 弹出窗口立即出现和隐藏(糟糕的用户体验)

java - 在 Java 中,我有一个浮点值,我左对齐,但它应该是一个货币值,$ 符号不会向左移动

java - 无法将 git 的标签推送到远程作为 Maven 发布过程

python - python中使用的存储大量数组

Python多处理: Extracting results

android - 从 Android Studio 部署 App Engine

java - 谷歌应用引擎,Java 框架?