Skip to main content

RESTful Service Architectures for Pervasive Networking Environments

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

Abstract

Computing facilities are an essential part of the fabric of our society, and an ever-increasing number of computing devices is deployed within the environment in which we live. The vision of pervasive computing is becoming real. To exploit the opportunities offered by pervasiveness, we need to revisit the classic software development methods to meet new requirements: (1) pervasive applications should be able to dynamically configure themselves, also benefiting from third-party functionalities discovered at run time and (2) pervasive applications should be aware of, and resilient to, environmental changes. In this chapter we focus on the software architecture, with the goal of facilitating both the development and the run-time adaptation of pervasive applications. More specifically we investigate the adoption of the REST architectural style to deal with pervasive environment issues. Indeed, we believe that, although REST has been introduced by observing and analyzing the structure of the Internet, its field of applicability is not restricted to it. The chapter also illustrates a proof-of-concept example, and then discusses the advantages of choosing REST over other styles in pervasive environments.

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.

    We also use the terms architectural model and design model interchangeably throughout the paper.

  2. 2.

    This feature is conceptually feasible, although several existing instantiations of the architectural style do not support it.

  3. 3.

    We define two resources as equivalent iff they have the same behavior and adopt the same encoding for their representations.

  4. 4.

    Clearly, this scenario requires for additional mechanisms able to foresee whether the device leaves the environment.

  5. 5.

    http://www.barcamp.org/.

  6. 6.

    We assume that the software implementing the registration facility is provided by the Exposition Center’s infrastructure as a downloadable package to foster the organization of spontaneous events.

References

  • Ben Mokhtar, S., Kaul, A., Georgantas, N., Issarny, V.: Efficient semantic service discovery in pervasive computing environments. Middleware 2006, pp. 240–259 (2006)

    Google Scholar 

  • Berners-Lee, T., Hendler, J., Lassila, O.: The Semantic Web. Scientific American (2001)

    Google Scholar 

  • Caporuscio, M., Funaro, M., Ghezzi, C.: Architectural issues of adaptive pervasive systems. In: G. Engels, C. Lewerentz, W. Schäfer, A. Schïurr, B. Westfechtel (eds.) Graph Transformations and Model Driven Enginering – Essays Dedicated to Manfred Nagl on the Occasion of his 65th Birthday, Lecture Notes in Computer Science, vol. 5765, pp. 500–520. Springer (2010)

    Google Scholar 

  • Cheng, B.H.C., de Lemos, R., Giese, H., Inverardi, P., Magee, J. (eds.): Software Engineering for Self-Adaptive Systems, Lecture Notes in Computer Science, vol. 5525. Springer, Berlin, Heidelberg, New York (2009)

    Google Scholar 

  • Edwards, W.K., Newman, M.W., Sedivy, J.Z., Smith, T.F.: Experiences with recombinant computing: Exploring ad hoc interoperability in evolving digital networks. ACM Trans. Comput.-Hum. Interact. 16(1), 1–44 (2009). DOI http://doi.acm.org/10.1145/ 1502800.1502803

    Google Scholar 

  • Epifani, I., Ghezzi, C., Mirandola, R., Tamburrelli, G.: Model evolution by run-time parameter adaptation. In: ICSE ’09, pp. 111–121. IEEE Computer Society, Washington, DC, USA (2009). DOI http://dx.doi.org/10.1109/ICSE.2009.5070513

    Google Scholar 

  • Erenkrantz, J.R., Gorlick, M., Suryanarayana, G., Taylor, R.N.: From representations to computations: the evolution of web architectures. In: ESEC-FSE ’07, pp. 255–264 (2007)

    Google Scholar 

  • Fielding, R.T.: REST: Architectural styles and the design of network-based software architectures. Ph.D. thesis, University of California, Irvine (2000)

    Google Scholar 

  • Huang, Y., Garcia-Molina, H.: Publish/subscribe in a mobile enviroment. In: Proceedings of the 2nd ACM International Workshop on Data Engineering for Wireless and Mobile Access, pp. 27–34 (2001)

    Google Scholar 

  • Khare, R., Taylor, R.N.: Extending the representational state transfer (rest) architectural style for decentralized systems. In: ICSE ’04, pp. 428–437. IEEE Computer Society, Washington, DC, USA (2004)

    Google Scholar 

  • Kramer, J., Magee, J.: The evolving philosophers problem: Dynamic change management. IEEE Tran. Soft. Eng. 16(11), 1293–1306 (1990). DOI http://dx.doi.org/10.1109/32. 60317

    Google Scholar 

  • Network Working Group: Role of the Domain Name System (DNS) (2003). RFC3467

    Google Scholar 

  • Object Management Group: Unified Modeling Langiage Specification (2010). Version 2.3

    Google Scholar 

  • Oreizy, P., Medvidovic, N., Taylor, R.N.: Architecture-based runtime software evolution. In: ICSE ’98, 1998.

    Google Scholar 

  • Papadimitriou, D.: Future internet – the cross-etp vision document. http://www.future-internet.eu (2009). Version 1.0

  • Richardson, L., Ruby, S.: Restful web services. O’Reilly (2007)

    Google Scholar 

  • Roman, G.C., Picco, G.P., Murphy, A.L.: Software engineering for mobility: a roadmap. In: FOSE ’00, pp. 241–258. ACM, New York, NY, USA (2000). DOI http://doi.acm. org/10.1145/336512.336567

    Google Scholar 

  • Romero, D., Rouvoy, R., Seinturier, L., Carton, P.: Service discovery in ubiquitous feedback control loops. In: DAIS, pp. 112–125 (2010)

    Google Scholar 

  • Saha, D., Mukherjee, A.: Pervasive computing: A paradigm for the 21st century. Computer 36(3), 25–31 (2003). DOI http://doi.ieeecomputersociety.org/10.1109/MC. 2003.1185214

    Google Scholar 

  • SMSCom: Self Managing Situated Computing. http://www.erc-smscom.org/ (2008)

  • Vandewoude, Y., Ebraert, P., Berbers, Y., D’Hondt, T.: Tranquility: A low disruptive alternative to quiescence for ensuring safe dynamic updates. IEEE Trans. Softw. Eng. 33(12), 856–868 (2007). DOI http://dx.doi.org/10.1109/TSE.2007.70733

    Google Scholar 

  • Vinoski, S.: Demystifying restful data coupling. IEEE Internet Computing 12(2), 87–90 (2008)

    Article  Google Scholar 

Download references

Acknowledgements

This research has been Funded by the European Commission, Programme IDEAS-ERC, Project 227077-SMScom (SMSCom 2008).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Mauro Caporuscio .

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

Caporuscio, M., Funaro, M., Ghezzi, C. (2011). RESTful Service Architectures for Pervasive Networking 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_18

Download citation

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

  • 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