问题
I am creating a program for Android mobiles which will query, retrieve and then process OData from an OData provider via a webservice.
Please can you tell me which toolkit is best for this? I have seen these:
- odata4j
- restlet
Thanks.
回答1:
Restlet is very straightforward, although the performance is not the best. Check this article: Accessing oData from Android using Restlet.
odata4j might be more performant according to this answer.
回答2:
Hey, I have been using restlet, it's extremely slow! I think it wouldn't be so difficult for you to write a parser yourself, there are many XML or JSON available nowadays. And consume an Odata service only needs a simple Apache Client!
来源:https://stackoverflow.com/questions/3892495/which-framework-should-i-use-to-run-odata-apis-on-android