The code generated by the App Engine Connected Android' wizard looks pretty 
complicated.  I see that there is an active thread discussing that code, 
but I want to ask some higher level questions to help me better understand 
when to use this wizard (and its methods).

The generated code appears to do the following:
- handles user account authentication (and communication of token to server)
- generates C2DM code for both client and server
- RPC code

Are the C2DM and RPC code independent?  If I understand correctly C2DM is 
only required for server initiated communication.  My app won't have any of 
that so I could just cut out the C2DM code.  (If I'm correct that it is 
independent, then I think the wizard should make the inclusion of C2DM 
support optional.)

About the RPC method...

Am I correct in my impression that this RPC method seems oriented towards 
making requests that are closely related to server-side entities.  In my 
programming, my requests are quite de-coupled from any server-side 
entities, so this doesn't seem well suited to my needs.

I take it that this RPC method is the same method used by GWT,  So, the 
intention to use GWT, is a major differentiator in the decision to use this 
wizard.  Conversely, this RPC method is not very portable - if you might 
need to develop an iPhone client then you would need to re-implement your 
server interfaces using a more portable method.

BTW, as an alternative, I came across this article from 2010 comparing 
various methods of Android to GAE communication.
http://monkeyboy-code.blogspot.com/2010/07/using-gae-as-backend-for-android.html
Hessian, the solution that the author settles on, sounds to be small, 
simple, and flexible - but I haven't tried it myself.  My 
only related experience is implementing REST/JSON interfaces with Python on 
GAE and that was very simple.

One last question... does this wizard (and these methods) tie me to GAE? 
 It doesn't appear to.  I'd rather avoid getting locked in to GAE.

Thanks.  Tom

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" 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/android-developers?hl=en

Reply via email to