You most certainly can, but this architecture makes no sense to start with from day one.
As far as app to app interaction, hashing a shared secret with your cross app calls is the most straightforward way to go, but remember that if you have separate apps, you won't have single sign on capability. You can probably do sessions reading the cookie set to the top level domain (and use subdomains for separate applications). This is a lot of work for no payoff, as you'll be charged for IPC bandwidth between your different applications, and it'll be a management nightmare. I'm not convinced your use case necessitates this architecture. On Tue, Jun 15, 2010 at 12:48 PM, John <[email protected]> wrote: > Thanks Ikai- > > Could I write a 'back-end' app as a web service app, then write > various front-end apps for each agent/channel and make an app to app > web service call? > > Follow on question would be, how do I secure the back-end app > interaction? Shared secret at deployment... openID for front-end > apps... shared secrets at run-time... session management/tokens (poss > using memcache in back-end app). > > Sorry if these are dumbie questions with answers in the docs > somewhere. > > TIA again - John > > On Jun 15, 6:25 pm, "Ikai L (Google)" <[email protected]> wrote: > > You can't access another app's datastore. Just create a single > application > > and render different views as you need them. You can switch on user > agents > > or the host that the request is coming in on. > > > > > > > > > > > > On Tue, Jun 15, 2010 at 3:00 AM, John <[email protected]> wrote: > > > (Note to moderators - I posted a similar question to the main GAE > > > group - I think the question is better targeted at this group. > > > Thanks.) > > > > > Hi All- > > > > > I'd like to build a multi-channel app hosted on GAE/J. By multi- > > > channel I mean that I have a common back-end and persistence layer > > > accessing a single datastore regardless of channel, but have front- > > > ends supporting different channels - for example: > > > > > * facebook front-end - using fbml & google facebook api > > > * generic social website front-end - using OpenSocial > > > * JSON/web service front-end - using ??? to support Android/iPhone > > > apps > > > * my site direct - using GWT > > > * my mobile site - GWT but for mobile. > > > > > What's the best way to achieve this? Can I do this in one GAE/J app - > > > if so, how to structure the url filter/mapping? Do I need app for each > > > front-end? If so, how do I connect multiple front-end apps to the > > > same datastore? > > > > > Thanks in advance - John > > > > > -- > > > 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]><google-appengine-java%2B > [email protected]> > > > . > > > For more options, visit this group at > > >http://groups.google.com/group/google-appengine-java?hl=en. > > > > -- > > Ikai Lan > > Developer Programs Engineer, Google App Engine > > Blog:http://googleappengine.blogspot.com > > Twitter:http://twitter.com/app_engine > > Reddit:http://www.reddit.com/r/appengine > > -- > 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. > > -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- 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.
