Hi Benjamin,

On Thu, Jun 4, 2009 at 6:18 AM, Benjamin <[email protected]> wrote:

>
> Greetings - I am an expert and this is not urgent (j/k so many posts
> say newbie and urgent)
>
> Question: I have a working app using GWT and running on the App
> Engine. Users can log in with their gmail account and enter data which
> is saved using JDO. Taking the app to the next level will require Web
> Services to be consumed by other apps to send data in and out of the
> app's data store (App Engine) and for a back end process to manage the
> users Data.
>
> I'm under the impression that i cannot host a web service that is
> consumable by other apps outside the app engine environment (please
> confim this).


Providing a web service via App Engine is perfectly legitimate and feasible.
It's all just HTTP, after all.

I've seen some solutons of using a URL with params and
> then just downloading the html - if this is the way to go, how do you
> provide the google account creds?


Are you asking if you can provide a web service that uses the Users API for
authentication? In that case, the authentication process clients have to
follow is the same as that performed by appcfg.py (in the Python SDK): Use
AuthSub or ClientLogin to get an authentication token, then make a GET
request to a reserved url on your app to trade it in for a cookie. For more
details, I suggest examining the source of appengine_rpc.py in the Python
SDK.


> Can someone point me in the right direction for developing an admin
> app on app engine that can manipulate the data inside my app - perhaps
> a sample jdo query that included a where clause with another users
> email. Provided i'm logged in as the app owner shouldn't i be able to
> access the entire application Data Store?


It's certainly possible to write such an app. Are you aware that the App
Engine admin console has a data viewer already, though?


> finally, what is the best method to get data in and out of a users
> data store within the app engine without going through the web ui? How
> do outside apps authenticate as the google account?


If you want to bulk load data, we support bulk loading, though currently
you'll have to upload a Python version of your app specifically for
bulkloading to do so. If you want other people to load data, exposing a web
service is your best bet.

-Nick Johnson

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" 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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to