xmlrpc vs json / rest on java google appengine wit

2019-07-13 04:17发布

问题:

Can someone please point me to a reference which gives a "full circle" example implementation of either (both with android client and java appengine back end) xmlrpc or json / rest ? I have found a python example but am struggling to find a java version.

Bonus points (not really) but if anyone could provide one where the the transport mechanism is abstracted out so the two are interchangable, I would be eternally in their favour. Any they'd get a credit in the software I'm putting together for this (for what it's worth).

Thanks,

Richard.

回答1:

For XMLRPC, I made a while ago a MetaWeblogAPI (which Blogger uses) backend for running under GAE.

I kept the sources at BitBucket. As for a client, well, I am using Apache XMLRPC, so it should be easy to implement. Anyway, you would use either Word and/or Windows Live Writer as a testing for this particular case.