[appengine-java] Re: Two apps hitting the same datastore

2010-11-07 Thread Robert Lancer
create a rest api and use urlfetch

On Nov 7, 5:23 pm, Eyal  wrote:
> Hi all,
>
> I need to have two separate applications hitting the same datastore.
> One updates it daily, and the other (app engine and GWT) reading from
> it on a regular basis. How is this done? Is there a way in the API to
> specify a specific datastore?
>
> Thanks,
> Eyal

-- 
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 google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: Two apps hitting the same datastore

2010-11-07 Thread Starman
As you know, you can deploy many versions of an app for the same app
id. There is nothing that says it has to be the same app. Just deploy
another app that does your weekly updates using another version
string. Each version, even though it may not be the default one, gets
its own url. You just need to trigger it one a week thereafter.

On Nov 7, 5:23 pm, Eyal  wrote:
> Hi all,
>
> I need to have two separate applications hitting the same datastore.
> One updates it daily, and the other (app engine and GWT) reading from
> it on a regular basis. How is this done? Is there a way in the API to
> specify a specific datastore?
>
> Thanks,
> Eyal

-- 
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 google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: Two apps hitting the same datastore

2010-11-08 Thread Eyal
Thank you Robert, and Starman.

The thing is, the application that does the daily updates can't be a
web application, at least not through GWT, because it needs to get a
feed from Analytics, and it takes too long so that GWT throws a
timeout exception.

Is there a way to deploy a simple, GUI-less Java application, using
App Engine's JDO to hit a datastore? And then set up a cron job, or
anything like it?

Thanks,
Eyal


On Nov 8, 1:18 am, Starman  wrote:
> As you know, you can deploy many versions of an app for the same app
> id. There is nothing that says it has to be the same app. Just deploy
> another app that does your weekly updates using another version
> string. Each version, even though it may not be the default one, gets
> its own url. You just need to trigger it one a week thereafter.
>
> On Nov 7, 5:23 pm, Eyal  wrote:
>
>
>
>
>
>
>
> > Hi all,
>
> > I need to have two separate applications hitting the same datastore.
> > One updates it daily, and the other (app engine and GWT) reading from
> > it on a regular basis. How is this done? Is there a way in the API to
> > specify a specific datastore?
>
> > Thanks,
> > Eyal

-- 
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 google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: Two apps hitting the same datastore

2010-11-08 Thread Didier Durand
Hi Eyal,

deploying a gui-less is the same thing as deploying any other gaej
appl (gwt, etc.)

Then, you can schedule regular jobs via cron: see
http://code.google.com/appengine/docs/java/config/cron.html
regards
didier

On Nov 8, 9:16 am, Eyal  wrote:
> Thank you Robert, and Starman.
>
> The thing is, the application that does the daily updates can't be a
> web application, at least not through GWT, because it needs to get a
> feed from Analytics, and it takes too long so that GWT throws a
> timeout exception.
>
> Is there a way to deploy a simple, GUI-less Java application, using
> App Engine's JDO to hit a datastore? And then set up a cron job, or
> anything like it?
>
> Thanks,
> Eyal
>
> On Nov 8, 1:18 am, Starman  wrote:
>
> > As you know, you can deploy many versions of an app for the same app
> > id. There is nothing that says it has to be the same app. Just deploy
> > another app that does your weekly updates using another version
> > string. Each version, even though it may not be the default one, gets
> > its own url. You just need to trigger it one a week thereafter.
>
> > On Nov 7, 5:23 pm, Eyal  wrote:
>
> > > Hi all,
>
> > > I need to have two separate applications hitting the same datastore.
> > > One updates it daily, and the other (app engine and GWT) reading from
> > > it on a regular basis. How is this done? Is there a way in the API to
> > > specify a specific datastore?
>
> > > Thanks,
> > > Eyal

-- 
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 google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.