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.
The Google Cloud Platform Mobile Backends Starter Project might be a good learning ground as it generates GAE and Android projects for you.
See my post at
http://devcon5.blogspot.com.es/2013/12/google-cloud-platform-mobile-backends.html
If you structure by our code just right, you can have one Pure Java SHARED project (eclipse, would be a module in IntelliJ or maven) that is used by main Android app project and by GAE/GWT webapp project.....but maybe not worthy your effort. It can have common model objects....but you might want to JDO annotate on GAE and not on Android - that will break Android compile.... :-(
If you dont use Endpoints or some other library to help you create REST API then in your GAE project you will have to implement API using servlets mapped to paths (in web.XML) that your Android client uses.
--
You received this message because you are subscribed to a topic in the Google Groups "Google Web Toolkit" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-web-toolkit/UtGnEusj0ig/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-web-tool...@googlegroups.com.
To post to this group, send email to google-we...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.