Andrew Mackenzie,

Firstly, thank you very much for your answer.
I'm very new to using AppEngine and GWT, so I'm not very sure I understood 
everything. I still got a lot of homework to do.

I'm following a GWT + AppEngine tutorial and so far I'm able to create the 
web client and use the datastore with no problems.
Now, Google provides many ways to deploy a backend to GAE. Including now, 
they have a Mobile Backend Starter.

So, where do you think I should start from? GWT or Android? I got a bit 
confused when you said I should build one app with the server code and GWT 
generated JS combined. Did you mean a GWT app or Android one?
I'm sorry if my questions don't make much sense. But, I'm just starting 
working with it.

Once again, thank you very much.

Em terça-feira, 11 de fevereiro de 2014 16h56min14s UTC-2, Andrew Mackenzie 
escreveu:
>
> You just need to "layer" GWT on top of the GAE/J "servlet/jsp" application 
> by including web pages that load the JS generated by the GWT compiler.
>
> I.e. you build ONE app that does it all, with server code and GWT 
> generated JS all in one combined /war dir. You then debug locally on the 
> devserver or deploy to a GAE app id.
>
> You develop GWT modules with client/shared/server code. Server code must 
> be servlet code with no GWT calls. Shared code must be pure Java. Client 
> code uses GWT jars and using the .get.XML module description files get 
> compiled to JS in your /war Dir. Then load the generated "loader"  for the 
> JS code in an HTML file you put in /war also.
>
> There are GWT sample projects on App Engine you can follow.
>
> I have tried using the GWT RPCs from Android code and it works but is 
> tricky and unduly couples your API for the mobile app to GWT. So I suggest 
> you develop a core set of server API calls that you can call from (thin) 
> GWT RPC services and an XML/JSON API you expose to your mobile apps (if you 
> decide not to use endpoints).
>
> I will dig out a presentation I did on out experiences (SlideShare) and 
> post a link....but you can find many tutorials and sample code.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to