Materializing Microservice-oriented Architecture from Monolithic Object-oriented Source Code - LIRMM - Laboratoire d’Informatique, de Robotique et de Microélectronique de Montpellier Access content directly
Conference Papers Year : 2022

Materializing Microservice-oriented Architecture from Monolithic Object-oriented Source Code

Pascal Zaragoza
Abderrahmane Seriai
  • Function : Author
  • PersonId : 1093513
Anas Shatnawi
Mustapha Derras
  • Function : Author
  • PersonId : 972011


Following the evolution of Cloud Computing and Service-Oriented Architecture (SOA), microservices (MS) have naturally emerged as the next trend due to the advantages they provide. These advantages include increased maintainability, better scalability, and an overall better synergy with DevOps techniques. This makes migrating legacy software towards a microservice-oriented architecture (MSA) an attractive prospect for organizations. The migration process is a complex and consequently risky endeavor that can be decomposed into two phases (1) the microservice-based architecture recovery phase and (2) the transformation (i.e. materialization) phase. Several studies have been done to automate the microservice architecture recovery phase. However, to the best of our knowledge, no work has been completed to automate the transformation phase. In this paper, we propose a systematic approach to refactor the existing code of an object-oriented monolithic application towards an MS-oriented one by using the target architecture from the recovery phase as a guide. By defining and applying a set of transformation patterns, we are able to generate a set of deployable microservices. Finally, we validate our approach by automating it through our tool MonoToMicro, and we apply it to a set of monolithic Java applications to generate a set of MSAs.
No file

Dates and versions

lirmm-04429364 , version 1 (31-01-2024)



Pascal Zaragoza, Abdelhak-Djamel Seriai, Abderrahmane Seriai, Anas Shatnawi, Hinde Lilia Bouziane, et al.. Materializing Microservice-oriented Architecture from Monolithic Object-oriented Source Code. ICSOFT 2021 - 16th International Conference on Software Technologies, Jul 2021, Virtual Event, France. pp.143-168, ⟨10.1007/978-3-031-11513-4_7⟩. ⟨lirmm-04429364⟩
4 View
0 Download



Gmail Mastodon Facebook X LinkedIn More