简体   繁体   English

Android网络服务

[英]Web Services for Android

I am making an android application which have to get 1000 of records from server database. 我正在做一个android应用程序,它必须从服务器数据库中获取1000条记录。 Can any one suggest me which web-service is recommended to fetch large data from Server. 谁能建议我建议使用哪种Web服务从Server获取大数据。

  1. SOAP 肥皂
  2. REST (JSON) REST(JSON)
  3. XML XML格式
  4. or any other 或任何其他

I have experience of parsing of all these services, but didn't deal with that large amount of data ? 我具有解析所有这些服务的经验,但是没有处理那么多数据吗? Which is fastest ? 哪个最快? Suggestions please ? 有什么建议吗?

REST-JSON would be the better option, since browsers are inherently more adept with JSON So I found this article... http://blog.feedly.com/2009/03/03/jsonrest-vs-xmlsoap/ REST-JSON将是更好的选择,因为浏览器本质上更擅长JSON,所以我找到了这篇文章... http://blog.feedly.com/2009/03/03/jsonrest-vs-xmlsoap/

And this SO article deals with the performance of JSON over XML Is parsing JSON faster than parsing XML 这篇SO文章介绍了XML上JSON的性能解析JSON比解析XML快

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM