I have some Python services and I have defined handler locations for them in app.yaml
I also have Java services and I have configured web.xml.
I want them both to be under same APP ID, e.g.
- The Python app would be in http://myapp.appspot.com/pythonapp
- The Java app would be in http://myapp.appspot.com/javaapp
So how can I accomplish this?
- When I use GAE Java Eclipse plugin, it only uploads the Java service and deletes existing Python service.
- When I use appcfg.py update it only uploads Python service and deletes existing Java service.
There is a hack: upload to different versions
You can have one instance version in Java and the other in Python. The default one will be visible to public via
http://myapp.appspot.com
.You can access the other version (in browser or programmatically) via
http://version.myapp.appspot.com
, e.g.http://3.myapp.appspot.com
If you wan to acces both of them via the same URL, then you will need to proxy the request or do a redirect (if your client allows it).