0

It seems that it's possible to have both Java and Python modules in the same gae App - see the answer to this question. Various browsing and searching indicates that not only is it possible, but that it's been done, but I can't find any details.

I think I understand how to do it, but I can't work out how to use the Java and Python SDKs together to do the development. They seem to be completely different. Does anyone know how to do this?

(Why do I want to do this? I've got a reasonable front end developed in Python, which I really don't want to have to re-implement, but the heavy numeric calculations are just too slow. I'm seeing huge performance gains, as expected, from re-implementing the calculation engine in Java. All I need to do now is to hook it in instead of the current Python implementation ...)

Community
  • 1
  • 1
lpryor
  • 363
  • 2
  • 7
  • Have you checked if numpy (which is supported) improves your numeric calculations? – Tim Hoffman May 23 '14 at 11:01
  • As to running both, you should read through modules https://developers.google.com/appengine/docs/python/modules/ – Tim Hoffman May 23 '14 at 11:02
  • I've read both the Python and Java documentation on modules. Neither mentions the other. And I can't find anything anywhere that discusses using the SDK across languages, which is what this question is about. – lpryor May 23 '14 at 12:21
  • Each module can be a different language. – Tim Hoffman May 23 '14 at 13:48
  • A quick search on SO has some discussion on this http://stackoverflow.com/questions/18382955/using-both-java-and-python-with-the-new-module-feature-on-appengine – Tim Hoffman May 23 '14 at 13:49
  • Also this SO talks about it http://stackoverflow.com/questions/2342059/can-i-write-parts-of-the-google-app-engine-code-in-java-other-parts-in-python but relies on version as it predates modules. There some quite significant commercial products out there doing it. – Tim Hoffman May 23 '14 at 13:52
  • Yes @TimHoffman, that first question is the one I referred to. But neither of these has any hints about how to go about it, and especially whether it's possible to get the two development servers in the SDKs to work together. – lpryor May 23 '14 at 17:28
  • I sugegst you go to the google group There are a number of threads on using modules with multiple languages there, and people who are doing it but they don't visit SO. Running both langauages concurrently in dev may be problematic but at least one poster has said they are doing it. – Tim Hoffman May 23 '14 at 23:50

0 Answers0