RESTful Service Development for Resource-Constrained Environments

  • Amirhosein Taherkordi
  • Frank Eliassen
  • Daniel Romero
  • Romain Rouvoy
Chapter

Abstract

The use of resource-constrained devices, such as smartphones, PDAs, Tablet PCs, and Wireless Sensor Networks (WSNs) is spreading rapidly in the business community and our daily life. Accessing services from such devices is very common in ubiquitous environments, but mechanisms to describe, implement and distribute these services remain a major challenge. Web services have been characterized as an efficient and widely-adopted approach to overcome heterogeneity, while this technology is still heavyweight for resource-constrained devices. The emergence of REST architectural style as a lightweight and simple interaction model has encouraged researchers to study the feasibility of exploiting REST principles to design and integrate services hosted on devices with limited capabilities. In this chapter, we discuss the state-of-the-art in applying REST concepts to develop Web services for WSNs and smartphones as two representative resource-constrained platforms, and then we provide a comprehensive survey of existing solutions in this area. In this context, we report on the DigiHome platform, a home monitoring middleware solution, which enables efficient service integration in ubiquitous environments using REST architectural style. In particular, we target our reference platforms for home monitoring systems, namely WSNs and smartphones, and report our experiments in applying the concept of Component-Based Software Engineering (CBSE) in order to provide resource-efficient RESTful distribution of Web services for those platforms.

References

  1. simplexml parser http://simplexml.sourceforge.net, 2009.
  2. M. Beisiegel et al. Service Component Architecture. http://www.osoa.org, 2007.
  3. P.-C. David, T. Ledoux, M. Léger, and T. Coupaye. FPath and FScript: language support for navigation and reliable reconfiguration of Fractal architectures. Annales des Télécommunications, 64(1–2): 45–63, January 2009.CrossRefGoogle Scholar
  4. L. de Souza, P. Spiess, D. Guinard, M. Khler, S. Karnouskos, and D. Savio. SOCRADES: a web service based shop floor integration infrastructure. In The Internet of Things, volume 4952 of LNCS, pages 50–67. Springer, Berlin, Heidelberg, New York, 2008.Google Scholar
  5. EsperTech. Esper. http://esper.codehaus.org, 2009.
  6. R. Fielding. Architectural Styles and the Design of Network-based Software Architectures. PhD Thesis. University of California, Irvine, USA, 2000.Google Scholar
  7. D. Guinard, V. Trifa, T. Pham, and O. Liechti. Towards physical mashups in the web of things. In INSS’09: Proceedings of the 6th International Conference on Networked Sensing Systems, pages 196–199, IEEE, Pittsburgh, PA, USA, 2009.Google Scholar
  8. E. Guttman, C. Perkins, J. Veizades, and M. Day. Service Location Protocol, Version 2. RFC 2608 (Proposed Standard). http://tools.ietf.org/html/rfc2608, June 1999.
  9. J. L. Hill and D. E. Culler. Mica: a wireless platform for deeply embedded networks. IEEE Micro, 22: 12–24, 2002.CrossRefGoogle Scholar
  10. IBM. Web Intermediaries (WIB). http://www.almaden.ibm.com/cs/wbi, 2009.
  11. M. Krause and I. Hochstatter. Challenges in modelling and using quality of context (QoC). In Proceedings of the 2nd International Workshop on Mobility Aware Technologies and Applications, pages 324–333, Montreal, Canada, 2005.Google Scholar
  12. T. Luckenbach, P. Gober, K. Kotsopoulos, A. Kim, and S. Arbanowski. TinyREST: a protocol for integrating sensor networks into the internet. In REALWSN’05: Proceedings of the Workshop on Real-World WSNs, Stockholm, Sweden, 2005.Google Scholar
  13. Open SOA. Service Component Architecture Specifications, 2007.Google Scholar
  14. OSGi Alliance. OSGi – The Dynamic Module System for Java. http://www.osgi.org, 2009.
  15. OSGi Alliance. About the Osgi Service Platform – Technical Whitepaper Revision 4.1. http://www.osgi.org/documents, 2007.
  16. L. Pham and G. Gehlen. Realization and performance analysis of a SOAP server for mobile devices. In Proceedings of the 11th European Wireless Conference, volume 2, pages 791–797, VDE Verlag, Nicosia, Cyprus, April 2005.Google Scholar
  17. N. B. Priyantha, A. Kansal, M. Goraczko, and F. Zhao. Tiny Web Services: design and implementation of interoperable and evolvable sensor networks. In SenSys’08: Proceedings of the 6th ACM Conference on Embedded Network Sensor Systems, pages 253–266, ACM, Raleigh, NC, USA, 2008.Google Scholar
  18. D. Romero, G. Hermosillo, A. Taherkordi, R. Nzekwa, R. Rouvoy, and F. Eliassen. RESTful integration of heterogeneous devices in pervasive environments. In Proceedings of the 10th IFIP International Conference on Distributed Applications and Interoperable Systems (DAIS’10), volume 6115 of LNCS, pages 1–14. Springer, Berlin, Heidelberg, New York, June 2010.Google Scholar
  19. D. Romero, R. Rouvoy, L. Seinturier, and P. Carton. Service discovery in ubiquitous feedback control loops. In Proceedings of the 10th IFIP International Conference on Distributed Applications and Interoperable Systems (DAIS’10), volume 6115 of LNCS, pages 113–126. Springer, Berlin, Heidelberg, New York, June 2010.Google Scholar
  20. D. Romero, R. Rouvoy, L. Seinturier, S. Chabridon, C. Denis, and P. Nicolas. Enabling context-aware web services: a middleware approach for ubiquitous environments. In Michael Sheng, Jian Yu, and Schahram Dustdar, editors, Enabling Context-Aware Web Services: Methods, Architectures, and Technologies. Chapman and Hall/CRC, London, 2009.Google Scholar
  21. L. Seinturier, P. Merle, D. Fournier, N. Dolet, V. Schiavoni, and J. -B. Stefani. Reconfigurable sca applications with the frascati platform. In SCC’09: Proceedings of the IEEE International Conference on Services Computing, pages 268–275, IEEE Computer Society, Washington, DC, USA, September 2009.Google Scholar
  22. S. N. Srirama, M. Jarke, and W. Prinz. Mobile web service provisioning. In International Conference on Advanced International Conference on Telecommunications / Internet and Web Applications and Services, IEEE, page 120, 2006.Google Scholar
  23. A. Taherkordi, F. Loiret, A. Abdolrazaghi, R. Rouvoy, Q. Le Trung, and F. Eliassen. Programming sensor networks using REMORA component model. In Proceedings of the 6th IEEE International Conference on Distributed Computing in Sensor Systems (DCOSS’10), page 15, Santa Barbara, California, USA France, 06 2010.Google Scholar
  24. The Apache Software Foundation. HTTP Server Project. http://httpd.apache.org, 2009.
  25. UPnP Forum. UPnP Device Architecture 1.0. http://www.upnp.org/resources/documents.asp, 2008.
  26. W3C. Web Application Description Language (WADL). http://wadl.dev.java.net, 2009.
  27. J. Wikman and F. Dosa. Providing HTTP Access to Web Servers Running on Mobile Phones, 2006.Google Scholar

Copyright information

© Springer Science+Business Media, LLC 2011

Authors and Affiliations

  • Amirhosein Taherkordi
    • 1
  • Frank Eliassen
    • 1
  • Daniel Romero
    • 2
  • Romain Rouvoy
    • 3
  1. 1.Department of InformaticsUniversity of OsloOsloNorway
  2. 2.INRIA Lille – Nord Europe, Parc Scientifique de la Haute BorneVilleneuve d’AscqFrance
  3. 3.INRIA Lille, University of Lille 1, INRIA Lille – Nord Europe, Parc Scientifique de la Haute BorneVilleneuve d’AscqFrance

Personalised recommendations