Advertisement

Server to Mobile Device Communication: A Case Study

  • Ricardo Anacleto
  • Lino Figueiredo
  • Ana Almeida
  • Paulo Novais
Part of the Advances in Intelligent Systems and Computing book series (AISC, volume 219)

Abstract

Develop a client-server application for a mobile environment can bring many challenges because of the mobile devices limitations. So, in this paper is discussed what can be the more reliable way to exchange information between a server and an Android mobile application, since it is important for users to have an application that really works in a responsive way and preferably without any errors. In this discussion two data transfer protocols (Socket and HTTP) and three serialization data formats (XML, JSON and Protocol Buffers) were tested using some metrics to evaluate which is the most practical and fast to use.

Keywords

Client-Server Communication Mobile Applications Protocol Buffers Performance 

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. 1.
    Anacleto, R., Luz, N., Figueiredo, L.: Personalized sightseeing tours support using mobile devices. In: Forbrig, P., Paternó, F., Mark Pejtersen, A. (eds.) HCIS 2010. IFIP AICT, vol. 332, pp. 301–304. Springer, Heidelberg (2010)CrossRefGoogle Scholar
  2. 2.
    Crockford, D.: JSON: the fat-free alternative to XML. In: Proc. of XML, vol. 2006 (2006)Google Scholar
  3. 3.
    Fielding, R.T., Taylor, R.N.: Principled design of the modern web architecture. ACM Transactions on Internet Technology (TOIT) 2(2), 115–150 (2002)CrossRefGoogle Scholar
  4. 4.
  5. 5.
    Harold, R., Loukides, M.: Java network programming. O’Reilly & Associates, Inc., Sebastopol (2000)Google Scholar
  6. 6.
    Pakin, S., Karamcheti, V., Chien, A.A.: Fast messages: Efficient, portable communication for workstation clusters and MPPs. IEEE Concurrency 5(2), 60–72 (1997)CrossRefGoogle Scholar
  7. 7.
    Pautasso, C., Zimmermann, O., Leymann, F.: Restful web services vs. big’web services: making the right architectural decision. In: Proceeding of the 17th International Conference on World Wide Web, pp. 805–814 (2008)Google Scholar

Copyright information

© Springer International Publishing Switzerland 2013

Authors and Affiliations

  • Ricardo Anacleto
    • 1
  • Lino Figueiredo
    • 1
  • Ana Almeida
    • 1
  • Paulo Novais
    • 2
  1. 1.GECAD, Knowledge Engineering and Decision Support Research CenterSchool of Engineering of the Polytechnic Institute of PortoPortoPortugal
  2. 2.CCTC - Computer Science and Technology CenterUniversity of MinhoBragaPortugal

Personalised recommendations