views:

162

answers:

2

Google App Engine supports both Python and Java application development.

Can I have both in the same application?

+6  A: 

Can I run Java and Python code in the same app?

Each version of the app must specify a runtime language and it is possible to have version x of your app running Java, while version y is running Python. It would also be possible to use Jython.

Source: Google App Engine for Java FAQ

Daniel Vassallo
+3  A: 

As far as I know, there are two ways:

  • Write another app in java, publish it as a web services and call it from python (but that's not what you are looking for)
  • Make a java application but write it in jython. Then your app will be written in python, it will run on JVM, and calls to java API are trivial.
puzz