Skip to main content

RESTful Service Development for Resource-Constrained Environments

  • Chapter
  • First Online:
Book cover REST: From Research to Practice

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 109.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    Restlet:http://www.restlet.org

References

  • simplexml parser http://simplexml.sourceforge.net, 2009.

  • M. Beisiegel et al. Service Component Architecture. http://www.osoa.org, 2007.

  • 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.

    Article  Google Scholar 

  • 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 

  • EsperTech. Esper. http://esper.codehaus.org, 2009.

  • R. Fielding. Architectural Styles and the Design of Network-based Software Architectures. PhD Thesis. University of California, Irvine, USA, 2000.

    Google Scholar 

  • 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 

  • 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.

  • J. L. Hill and D. E. Culler. Mica: a wireless platform for deeply embedded networks. IEEE Micro, 22: 12–24, 2002.

    Article  Google Scholar 

  • IBM. Web Intermediaries (WIB). http://www.almaden.ibm.com/cs/wbi, 2009.

  • 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 

  • 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 

  • Nokia. Mobile Web Server. http://wiki.opensource.nokia.com/projects/Mobile_Web_Server, 2008.

  • Open SOA. Service Component Architecture Specifications, 2007.

    Google Scholar 

  • OSGi Alliance. OSGi – The Dynamic Module System for Java. http://www.osgi.org, 2009.

  • OSGi Alliance. About the Osgi Service Platform – Technical Whitepaper Revision 4.1. http://www.osgi.org/documents, 2007.

  • 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 

  • 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 

  • 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 

  • 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 

  • 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 

  • 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 

  • 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 

  • 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 

  • The Apache Software Foundation. HTTP Server Project. http://httpd.apache.org, 2009.

  • UPnP Forum. UPnP Device Architecture 1.0. http://www.upnp.org/resources/documents.asp, 2008.

  • W3C. Web Application Description Language (WADL). http://wadl.dev.java.net, 2009.

  • J. Wikman and F. Dosa. Providing HTTP Access to Web Servers Running on Mobile Phones, 2006.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Amirhosein Taherkordi .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2011 Springer Science+Business Media, LLC

About this chapter

Cite this chapter

Taherkordi, A., Eliassen, F., Romero, D., Rouvoy, R. (2011). RESTful Service Development for Resource-Constrained Environments. In: Wilde, E., Pautasso, C. (eds) REST: From Research to Practice. Springer, New York, NY. https://doi.org/10.1007/978-1-4419-8303-9_9

Download citation

  • DOI: https://doi.org/10.1007/978-1-4419-8303-9_9

  • Published:

  • Publisher Name: Springer, New York, NY

  • Print ISBN: 978-1-4419-8302-2

  • Online ISBN: 978-1-4419-8303-9

  • eBook Packages: EngineeringEngineering (R0)

Publish with us

Policies and ethics