Visual modeling of RESTful conversations with RESTalk

被引:6
作者
Ivanchikj, Ana [1 ]
Pautasso, Cesare [1 ]
Schreier, Silvia [2 ]
机构
[1] USI, Fac Informat, Lugano, Switzerland
[2] InnoQ Deutschland GmbH, Monheim, Germany
关键词
RESTful Web services; Conversations; BPMN Choreography; Modeling notation extension; Exploratory study; Domain-specific language; Questionnaire; RESTalk; QUALITY;
D O I
10.1007/s10270-016-0532-2
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
The cost savings introduced by Web services through code reuse and integration opportunities have motivated many businesses to develop Web APIs, with ever increasing numbers opting for the REST architectural style. RESTful Web APIs are decomposed in multiple resources, which the client can manipulate through HTTP interactions with well-defined semantics. Getting the resource in the desired state might require multiple client-server interactions, what we define as a RESTful conversation. RESTful conversations are dynamically guided by hypermedia controls, such as links. Thus, when deciding whether and how to use a given RESTful service, the client might not be aware of all the interactions which are necessary to achieve its goal. This is because existing documentation of RESTful APIs describes the static structure of the interface, exposing low-level HTTP details, while little attention has been paid to conceptual, high-level, modeling of the dynamics of RESTful conversations. Low-level HTTP details can be abstracted from during the design phase of the API, or when deciding which API to use. We argue that, in these situations, visual models of the required client-server interactions might increase developers' efficiency and facilitate their understanding. Thus, to capture all possible interaction sequences in a given RESTful conversation, we propose RESTalk, an extension to the BPMN Choreography diagrams to render them more concise and yet sufficiently expressive in the specific REST domain. We also report on the results obtained from an exploratory survey we have conducted to assess the maturity of the field for a domain-specific language and to obtain feedback for future improvements of RESTalk.
引用
收藏
页码:1031 / 1051
页数:21
相关论文
共 49 条
  • [1] Alarcon R., 2010, 3 WORKSH LINK DAT WE
  • [2] Amundsen Mike., 2011, Building Hypermedia APIs with HTML5 and Node: Creating Evolvable Hypermedia Applications
  • [3] [Anonymous], 2013, REMOTING PATTERNS FD
  • [4] [Anonymous], 2011, NIST DEFINITION CLOU
  • [5] [Anonymous], 2000, ARCHITECTURAL STYLES
  • [6] [Anonymous], 2009, Software architecture: foundations, theory, and practice
  • [7] [Anonymous], 2015, BUILDING MICROSERVIC
  • [8] [Anonymous], 2010, BPMN 2 0 INTRO STAND
  • [9] Barros A, 2005, LECT NOTES COMPUT SC, V3649, P302, DOI 10.1007/11538394_20
  • [10] Web service conversation modeling - A cornerstone for E-business automation
    Benatallah, B
    Casati, F
    Toumani, F
    [J]. IEEE INTERNET COMPUTING, 2004, 8 (01) : 46 - 54