Abstract
The microservices architecture (MSA) is highly popular for its scalability, deployability in the Cloud and compatibility with DevOps practices. Many companies are migrating their legacy systems to an MSA. They need to rely on automatic approaches to ease their migration while taking into account their business features. Existing migration approaches to an MSA often focus on technical features but neglect functional ones, which are essential for appropriate MS granularity. To address this lack, we introduce BOAM (Business Oriented identification Approach of Microservices), a hybrid approach that focuses on business decomposition by leveraging not only technical features, such as source code, but also business oriented artifacts, especially use cases. BOAM thus leverages static and semantic analyses of source code using nanoentities (data, operations or artifacts), followed by a semantic analysis of use cases to capture business features. For that, BOAM leans on machine learning, particularly clustering methods, to identify microservices through technical (source code) and business (use cases) artifacts. The goal is to ensure that identified microservices are technically sound and meet specific business features of the company. Our evaluation shows that BOAM outperforms other literature approaches to identify microservices, achieving an average precision of 74.51% and recall of 77.93%.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
Notes
- 1.
- 2.
- 3.
- 4.
- 5.
- 6.
- 7.
- 8.
References
Abdellatif, M., et al.: A type-sensitive service identification approach for legacy-to-soa migration. In: Service-Oriented Computing: 18th International Conference, ICSOC 2020, Dubai, 14–17 December 2020, Proceedings 18, pp. 476–491. Springer (2020)
Annett, R.: Working with Legacy Systems. Packt (2019)
Balakrishnan, V., Ethel, L.Y.: Stemming and lemmatization: a comparison of retrieval performances. Lect. Notes Softw. Eng. 2, 262–267 (2014). https://doi.org/10.7763/LNSE.2014.V2.134
Bezdek, J.C., Ehrlich, R., Full, W.: FCM: the fuzzy c-means clustering algorithm. Comput. Geosci. 10(2–3), 191–203 (1984)
Brito, M., Cunha, J., Saraiva, J.: Identification of microservices from monolithic applications through topic modelling. In: Proceedings of the 36th Annual ACM Symposium on Applied Computing, pp. 1409–1418 (2021)
Dehghani, M., Kolahdouz-Rahimi, S., Tisi, M., Tamzalit, D.: Facilitating the migration to the microservice architecture via model-driven reverse engineering and reinforcement learning. Softw. Syst. Model. 21(3), 1115–1133 (2022)
Elov, B., Khamroeva, S.M., Xusainova, Z.: The pipeline processing of NLP. In: E3S Web of Conferences, vol. 413, p. 03011. EDP Sciences (2023)
Escobar, D., et al.: Towards the understanding and evolution of monolithic applications as microservices. In: 2016 XLII Latin American Computing Conference (CLEI), pp. 1–11. IEEE (2016)
Evans, E.: Domain-Driven Design: Tackling Complexity in the Heart of Software. Addison-Wesley Professional (2004)
Gao, X.B., Pei, J.H., Xie, W.X.: A study of weighting exponent m in a fuzzy c-means algorithm. Acta Electon. Sin. 28(4), 80 (2000)
Gottesdiener, E.: Requirements by Collaboration: Workshops for Defining Needs. Addison-Wesley Professional (2002)
Gottesdiener, E.: Use cases: best practices. In: Rational Software White Paper (2003)
Gouigoux, J.P., Tamzalit, D.: From monolith to microservices: lessons learned on an industrial migration to a web oriented architecture. In: 2017 IEEE International Conference on Software Architecture Workshops (ICSAW), pp. 62–65. IEEE (2017)
Gouigoux, J.P., Tamzalit, D.: “functional-first” recommendations for beneficial microservices migration and integration lessons learned from an industrial experience. In: International Conference on Software Architecture Companion, pp. 182–186. IEEE (2019)
Gysel, M., Kölbener, L.: Service cutter-a structured way to service decomposition. Ph.D. thesis, HSR Hochschule für Technik Rapperswil (2015)
Gysel, M., Kölbener, L., Giersche, W., Zimmermann, O.: Service cutter: a systematic approach to service decomposition. In: 5th IFIP WG 2.14 European Conference, ESOCC 2016, Service-Oriented and Cloud Computing, 5–7 September 2016, pp. 185–200. Springer (2016)
Jacobson, I.: Use cases-yesterday, today, and tomorrow. Softw. Syst. Model. 3, 210–220 (2004)
Lewis, G., Morris, E., Smith, D., O’Brien, L.: Service-oriented migration and reuse technique (smart). In: 13th IEEE International Workshop on Software Technology and Engineering Practice (STEP 2005), pp. 222–229. IEEE (2005)
Li, Y., Zhang, Y., Yang, Y., Wang, W., Yin, Y.: Rm2ms: a tool for automatic identification of microservices from requirements models. In: Proceedings of the 26th International Conference on Model Driven Engineering Languages and Systems (MODELS 2023). Västerås (2023). Demonstration Track
Newman, S.: Building Microservices. O’Reilly Media, Inc. (2021)
Rahutomo, F., Kitasuka, T., Aritsugi, M., et al.: Semantic cosine similarity. In: The 7th International Student Conference on Advanced Science and Technology (ICAST), p. 1. University of Seoul, South Korea (2012)
Rosenberg, D., Scott, K.: Use Case Driven Object Modeling with UML. Springer (1999)
Trabelsi, I., et al.: From legacy to microservices: a type-based approach for microservices identification using machine learning and semantic analysis. J. Softw.: Evol. Process. e2503 (2022)
Trabelsi, I., Popa, B., Péreyrol, J., Beaulieu, P.O., Moha, N.: Micromatic: fully automated microservices identification approach from monolithic systems. In: 2024 IEEE/ACM 6th International Workshop on Software Engineering Research and Practices for the IoT (SERP4IoT), pp. 7–13 (2024). https://doi.org/10.1145/3643794.3648283
Tyszberowicz, S., Heinrich, R., Liu, B., Liu, Z.: Identifying microservices using functional decomposition. In: 4th International Symposium, Dependable Software Engineering. Theories, Tools, and Applications, pp. 50–65. Springer (2018)
Vernon, V.: Implementing Domain-Driven Design. Addison-Wesley (2013)
Wang, Y., Kadiyala, H., Rubin, J.: Promises and challenges of microservices: an exploratory study. Empir. Softw. Eng. 26(4), 63 (2021)
Waseem, M., Liang, P., Shahin, M., Ahmad, A., Nassab, A.R.: On the nature of issues in five open source microservices systems: an empirical study. In: Proceedings of the 25th International Conference on Evaluation and Assessment in Software Engineering, pp. 201–210 (2021)
Zougari, S., Daoud, M., Sabri, A., Zougari, A., Chahboun, A., Azyat, A.: Automating the recognition of microservices from business process analysis. In: 2024 International Conference on Intelligent Systems and Computer Vision (ISCV), pp. 1–8 (2024). https://doi.org/10.1109/ISCV60512.2024.10620133
Acknowledgment
We sincerely thank the professor for providing the student systems that greatly enhanced our dataset.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2025 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.
About this paper
Cite this paper
Mahmoudi, B., Trabelsi, I., Tamzalit, D., Moha, N., Guéhéneuc, YG. (2025). BOAM: A Business Oriented Identification Approach of Microservices Within Legacy Systems. In: Gaaloul, W., Sheng, M., Yu, Q., Yangui, S. (eds) Service-Oriented Computing. ICSOC 2024. Lecture Notes in Computer Science, vol 15405. Springer, Singapore. https://doi.org/10.1007/978-981-96-0808-9_10
Download citation
DOI: https://doi.org/10.1007/978-981-96-0808-9_10
Published:
Publisher Name: Springer, Singapore
Print ISBN: 978-981-96-0807-2
Online ISBN: 978-981-96-0808-9
eBook Packages: Computer ScienceComputer Science (R0)