我目前有一个在 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/