Hi Stephen,

How does app engine know to let them both access the same data store, is it
just that the last portion of the app identifier is the same? For example,
my project is called "orange":

    orange.appspot.com

    blah.whatever.orange.appspot.com

is it just because "orange" appears before .appspot, that this linking takes
place? We don't have to set anything up in the xml files to support this?

Thanks


On Sat, Apr 17, 2010 at 4:11 PM, Houston startup coder <
[email protected]> wrote:

> Just create a new version of your app and point api.myproject.com to
> that.  For example, if your app is at
>
> some-name.appspot.com
>
> you can create a version called
>
> another-version.latest.some-name.appspot.com
>
> and that other version can be a separate application with a completely
> different codebase (you can even write it in Python with your original
> app being in Java) and both versions of the app will be using the same
> datastore.
>
> See this link...
>
> http://code.google.com/appengine/docs/java/config/appconfig.html#About_appengine_web_xml
>
> ...and this:
>
> http://googleappengine.blogspot.com/2009/06/10-things-you-probably-didnt-know-about.html
>
>
> Have fun!
>
> - Stephen Huey
> http://www.google.com/profiles/stephenhuey
>
>
>
> On Apr 16, 1:43 pm, Mark <[email protected]> wrote:
> > Hi,
> >
> > I have my gwt project hosted on app engine. This is resolving to:
> >
> >  http://www.myproject.com
> >
> > how would I go about serving data from:
> >
> >  http://api.myproject.com
> >
> > from the same datastore? I'd like the gwt project above to be able to
> > pull its data from api.myproject.com,
> >
> > Thanks
> >
> > --
> > You received this message because you are subscribed to the Google Groups
> "Google App Engine for Java" group.
> > To post to this group, send email to
> [email protected].
> > To unsubscribe from this group, send email to
> [email protected]<google-appengine-java%[email protected]>
> .
> > For more options, visit this group athttp://
> groups.google.com/group/google-appengine-java?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine for Java" group.
> To post to this group, send email to
> [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-appengine-java%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine-java?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to