Re: [google-appengine] Python and java modules in the same app

2014-06-04 Thread Vinny P
On Sat, May 24, 2014 at 7:38 AM, LPryor louise.pr...@gmail.com wrote:

 - How do you manage the configuration?  The Java xml-based configuration
 expects the app to list all the modules, whereas the Python yaml-based
 configuration doesn't. So is the Java yaml-based configuration the way to
 go?



You would upload the Java and Python applications as separate versions, then
route requests using a dispatch file
https://developers.google.com/appengine/docs/python/modules/routing.
Where did you expect to list the modules?


On Sat, May 24, 2014 at 7:38 AM, LPryor louise.pr...@gmail.com wrote:

 - Should I develop a whole Java app, essentially a stub default module
 alongside the module I actually want, or can I do just the module I want?



Just the module you want. There's no need to add in other modules you don't
want. Although it should be noted that a module itself is a Java app, so
adding another module doesn't make it a whole Java app.


-
-Vinny P
Technology  Media Advisor
Chicago, IL

App Engine Code Samples: http://www.learntogoogleit.com

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Python and java modules in the same app

2014-06-04 Thread Diego Duclos
I would strongly discourage using versions for this, using different
modules for the same appengine project is much a MUCH more sane way to do
this.


On Wed, Jun 4, 2014 at 8:07 PM, Vinny P vinny...@gmail.com wrote:

 On Sat, May 24, 2014 at 7:38 AM, LPryor louise.pr...@gmail.com wrote:

 - How do you manage the configuration?  The Java xml-based configuration
 expects the app to list all the modules, whereas the Python yaml-based
 configuration doesn't. So is the Java yaml-based configuration the way to
 go?



 You would upload the Java and Python applications as separate versions, then
 route requests using a dispatch file
 https://developers.google.com/appengine/docs/python/modules/routing.
 Where did you expect to list the modules?


 On Sat, May 24, 2014 at 7:38 AM, LPryor louise.pr...@gmail.com wrote:

 - Should I develop a whole Java app, essentially a stub default module
 alongside the module I actually want, or can I do just the module I want?



 Just the module you want. There's no need to add in other modules you
 don't want. Although it should be noted that a module itself is a Java app,
 so adding another module doesn't make it a whole Java app.


 -
 -Vinny P
 Technology  Media Advisor
 Chicago, IL

 App Engine Code Samples: http://www.learntogoogleit.com


 --
 You received this message because you are subscribed to the Google Groups
 Google App Engine group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to google-appengine+unsubscr...@googlegroups.com.
 To post to this group, send email to google-appengine@googlegroups.com.
 Visit this group at http://groups.google.com/group/google-appengine.
 For more options, visit https://groups.google.com/d/optout.


-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Python and java modules in the same app

2014-05-31 Thread LPryor
As I understand it, it's possible to have modules using different runtimes 
in the same app. I'd like to add a Java module to my app which is currently 
using Python: does anyone have any hints about how best to go about this? 
Specific questions I have at the moment:

- How do you manage the configuration?  The Java xml-based configuration 
expects the app to list all the modules, whereas the Python yaml-based 
configuration doesn't. So is the Java yaml-based configuration the way to 
go?

- Is there any way of testing things out on the development server(s)? Do 
the Python and Java development servers share a datastore? 

- Should I develop a whole Java app, essentially a stub default module 
alongside the module I actually want, or can I do just the module I want?

I'm reasonably at home with the Python appengine stuff, but new to the Java 
end of it, so any help or pointers to information would be great.


-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/d/optout.