Mobile and Ubiquitous Systems: Computing, Networking, and Services. 8th International ICST Conference, MobiQuitous 2011, Copenhagen, Denmark, December 6-9, 2011, Revised Selected Papers

Research Article

In Search of an Internet of Things Service Architecture: REST or WS-*? A Developers’ Perspective

Download
429 downloads
  • @INPROCEEDINGS{10.1007/978-3-642-30973-1_32,
        author={Dominique Guinard and Iulia Ion and Simon Mayer},
        title={In Search of an Internet of Things Service Architecture: REST or WS-*? A Developers’ Perspective},
        proceedings={Mobile and Ubiquitous Systems: Computing, Networking, and Services. 8th International ICST Conference, MobiQuitous 2011, Copenhagen, Denmark, December 6-9, 2011, Revised Selected Papers},
        proceedings_a={MOBIQUITOUS},
        year={2012},
        month={10},
        keywords={Internet of Things Web of Things WSN Mobile Web Services REST WS-*},
        doi={10.1007/978-3-642-30973-1_32}
    }
    
  • Dominique Guinard
    Iulia Ion
    Simon Mayer
    Year: 2012
    In Search of an Internet of Things Service Architecture: REST or WS-*? A Developers’ Perspective
    MOBIQUITOUS
    Springer
    DOI: 10.1007/978-3-642-30973-1_32
Dominique Guinard1,*, Iulia Ion1,*, Simon Mayer1,*
  • 1: ETH Zurich
*Contact email: dguinard@inf.ethz.ch, iulia.ion@inf.ethz.ch, simon.mayer@inf.ethz.ch

Abstract

Current trends inspired from the development of the Web 2.0 advocate designing smart things (e.g., wireless sensors nodes or home appliances) as service platforms. Interoperable services are mainly achieved using two different approaches: WS-* and RESTful Web services. These approaches have previously been compared with respect to performance and features, but no work has been done to elicit the developers’ preferences and programming experiences. We conducted a study in which 69 novice developers learned both technologies and implemented mobile phone applications that retrieve sensor data, both through a RESTful and through a WS-* service architecture. The results complement the available technological decision framework when building Internet of Things applications. The results suggest that developers find REST easier to learn than WS-* and consider it more suitable for programming smart things. However, for applications with advanced security and Quality of Service requirements, WS-* Web services are perceived to be better suited.