[aerogear-dev] Android - server endpoint

Douglas Campos qmx at qmx.me
Wed Aug 15 11:19:36 EDT 2012


> If you had some schema describing what you can expect in the result, you could use that to generate POJOs and code to automatically mashal / unmarshal these. You can also wrap the mechanics of HTTP calls away and after done with all that what you have is just a class representing a remote service with methods taking POJOS that wrap all the mechanics of the remote call and return deserialized POJOs back. 
A point to keep in mind is that code generation should be our **last** resort - in a ideal world we have just one client library that autodiscovers the rest via a single endpoint.


-- qmx




More information about the aerogear-dev mailing list