Saved in:
Bibliographic Details
Main Authors: Lecrivain, Matthéo, Barry, Hanifa, Tamzalit, Dalila, Sahraoui, Houari
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2503.21522
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917969148248064
author Lecrivain, Matthéo
Barry, Hanifa
Tamzalit, Dalila
Sahraoui, Houari
author_facet Lecrivain, Matthéo
Barry, Hanifa
Tamzalit, Dalila
Sahraoui, Houari
contents The microservices architectural style has become the de facto standard for large-scale cloud applications, offering numerous benefits in scalability, maintainability, and deployment flexibility. Many organizations are pursuing the migration of legacy monolithic systems to a microservices architecture. However, this process is challenging, risky, time-intensive, and prone-to-failure while several organizations lack necessary financial resources, time, or expertise to set up this migration process. So, rather than trying to migrate a legacy system where migration is risky or not feasible, we suggest exposing it as a microservice application without without having to migrate it. In this paper, we present a reusable, automated, two-phase approach that combines evolutionary algorithms with machine learning techniques. In the first phase, we identify microservices at the method level using a multi-objective genetic algorithm that considers both structural and semantic dependencies between methods. In the second phase, we generate REST APIs for each identified microservice using a classification algorithm to assign HTTP methods and endpoints. We evaluated our approach with a case study on the Spring PetClinic application, which has both monolithic and microservices implementations that serve as ground truth for comparison. Results demonstrate that our approach successfully aligns identified microservices with those in the reference microservices implementation, highlighting its effectiveness in service identification and API generation.
format Preprint
id arxiv_https___arxiv_org_abs_2503_21522
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle MONO2REST: Identifying and Exposing Microservices: a Reusable RESTification Approach
Lecrivain, Matthéo
Barry, Hanifa
Tamzalit, Dalila
Sahraoui, Houari
Software Engineering
Artificial Intelligence
The microservices architectural style has become the de facto standard for large-scale cloud applications, offering numerous benefits in scalability, maintainability, and deployment flexibility. Many organizations are pursuing the migration of legacy monolithic systems to a microservices architecture. However, this process is challenging, risky, time-intensive, and prone-to-failure while several organizations lack necessary financial resources, time, or expertise to set up this migration process. So, rather than trying to migrate a legacy system where migration is risky or not feasible, we suggest exposing it as a microservice application without without having to migrate it. In this paper, we present a reusable, automated, two-phase approach that combines evolutionary algorithms with machine learning techniques. In the first phase, we identify microservices at the method level using a multi-objective genetic algorithm that considers both structural and semantic dependencies between methods. In the second phase, we generate REST APIs for each identified microservice using a classification algorithm to assign HTTP methods and endpoints. We evaluated our approach with a case study on the Spring PetClinic application, which has both monolithic and microservices implementations that serve as ground truth for comparison. Results demonstrate that our approach successfully aligns identified microservices with those in the reference microservices implementation, highlighting its effectiveness in service identification and API generation.
title MONO2REST: Identifying and Exposing Microservices: a Reusable RESTification Approach
topic Software Engineering
Artificial Intelligence
url https://arxiv.org/abs/2503.21522