Coordinating REST interactions in service choreographies using blockchain

In Service Oriented Computing (SOC), different services interact and exchange information to reach specific objectives. To model interorganizational SOC systems, choreography modeling languages have emerged to represent the distributed coordination among the involved organizations. From the realizat...

Full description

Saved in:
Bibliographic Details
Main Authors: Francesco Donini, Alessandro Marcelletti, Andrea Morichetta, Andrea Polini
Format: Article
Language:English
Published: Elsevier 2025-03-01
Series:Blockchain: Research and Applications
Subjects:
Online Access:http://www.sciencedirect.com/science/article/pii/S209672092400054X
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1849388509840801792
author Francesco Donini
Alessandro Marcelletti
Andrea Morichetta
Andrea Polini
author_facet Francesco Donini
Alessandro Marcelletti
Andrea Morichetta
Andrea Polini
author_sort Francesco Donini
collection DOAJ
description In Service Oriented Computing (SOC), different services interact and exchange information to reach specific objectives. To model interorganizational SOC systems, choreography modeling languages have emerged to represent the distributed coordination among the involved organizations. From the realization perspective, blockchain technology is emerging as a promising run-time supporting peer-to-peer communication technology without the need for a central coordinator, thanks to its intrinsic security, trust, and decentralization characteristics. However, while blockchain can bring many advantages, technological barriers still limit its adoption in organizations, due to the costly and time-consuming learning process. For this reason, we propose RESTChain, a framework that automatically enables the interactions that take place among the participants in a service choreography exploiting blockchain technology. Starting from a choreography specification, the framework provides a set of mediators and automatically generates a smart contract that coordinates the service interactions. The mediators are software components that are directly connected with the smart contracts and expose REpresentational State Transfer (REST) APIs in compliance with the role played by the organizations in the choreography. In this way, the services deployed by one organization can communicate with the services made available by another organization through the blockchain in a secure and transparent manner. The proposed approach has been implemented on the Layer 2 Polygon blockchain and validated in a market retail case study analyzing its efficiency in terms of time and cost.
format Article
id doaj-art-6caeec6c07ae4630a0bb588899d1330e
institution Kabale University
issn 2666-9536
language English
publishDate 2025-03-01
publisher Elsevier
record_format Article
series Blockchain: Research and Applications
spelling doaj-art-6caeec6c07ae4630a0bb588899d1330e2025-08-20T03:42:15ZengElsevierBlockchain: Research and Applications2666-95362025-03-016110024110.1016/j.bcra.2024.100241Coordinating REST interactions in service choreographies using blockchainFrancesco Donini0Alessandro Marcelletti1Andrea Morichetta2Andrea Polini3University of Camerino, Via Madonna delle Carceri 7, Camerino 62032, Italy; University of Pisa, Largo Bruno Pontecorvo 3, Pisa 56127, Italy; Institute of Informatics and Telematics CNR of Pisa, Via Giuseppe Moruzzi 1, Pisa 56124, ItalyUniversity of Camerino, Via Madonna delle Carceri 7, Camerino 62032, Italy; Corresponding author.University of Camerino, Via Madonna delle Carceri 7, Camerino 62032, ItalyUniversity of Camerino, Via Madonna delle Carceri 7, Camerino 62032, ItalyIn Service Oriented Computing (SOC), different services interact and exchange information to reach specific objectives. To model interorganizational SOC systems, choreography modeling languages have emerged to represent the distributed coordination among the involved organizations. From the realization perspective, blockchain technology is emerging as a promising run-time supporting peer-to-peer communication technology without the need for a central coordinator, thanks to its intrinsic security, trust, and decentralization characteristics. However, while blockchain can bring many advantages, technological barriers still limit its adoption in organizations, due to the costly and time-consuming learning process. For this reason, we propose RESTChain, a framework that automatically enables the interactions that take place among the participants in a service choreography exploiting blockchain technology. Starting from a choreography specification, the framework provides a set of mediators and automatically generates a smart contract that coordinates the service interactions. The mediators are software components that are directly connected with the smart contracts and expose REpresentational State Transfer (REST) APIs in compliance with the role played by the organizations in the choreography. In this way, the services deployed by one organization can communicate with the services made available by another organization through the blockchain in a secure and transparent manner. The proposed approach has been implemented on the Layer 2 Polygon blockchain and validated in a market retail case study analyzing its efficiency in terms of time and cost.http://www.sciencedirect.com/science/article/pii/S209672092400054XBlockchainRESTService choreographyModel-driven engineering
spellingShingle Francesco Donini
Alessandro Marcelletti
Andrea Morichetta
Andrea Polini
Coordinating REST interactions in service choreographies using blockchain
Blockchain: Research and Applications
Blockchain
REST
Service choreography
Model-driven engineering
title Coordinating REST interactions in service choreographies using blockchain
title_full Coordinating REST interactions in service choreographies using blockchain
title_fullStr Coordinating REST interactions in service choreographies using blockchain
title_full_unstemmed Coordinating REST interactions in service choreographies using blockchain
title_short Coordinating REST interactions in service choreographies using blockchain
title_sort coordinating rest interactions in service choreographies using blockchain
topic Blockchain
REST
Service choreography
Model-driven engineering
url http://www.sciencedirect.com/science/article/pii/S209672092400054X
work_keys_str_mv AT francescodonini coordinatingrestinteractionsinservicechoreographiesusingblockchain
AT alessandromarcelletti coordinatingrestinteractionsinservicechoreographiesusingblockchain
AT andreamorichetta coordinatingrestinteractionsinservicechoreographiesusingblockchain
AT andreapolini coordinatingrestinteractionsinservicechoreographiesusingblockchain