Skip to main content

BOAM: A Business Oriented Identification Approach of Microservices Within Legacy Systems

  • Conference paper
  • First Online:
Service-Oriented Computing (ICSOC 2024)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 15405))

Included in the following conference series:

  • 264 Accesses

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%.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

Notes

  1. 1.

    https://github.com/Brahim-Mahmoudi/BOAM_Repo/tree/main/BOAMWorkshops/UseCaseGeneration/UseCaseGeneration.jpg.

  2. 2.

    https://github.com/mmihaltz/word2vec-GoogleNews-vectors.

  3. 3.

    https://github.com/Brahim-Mahmoudi/BOAM_Repo.git.

  4. 4.

    https://github.com/Brahim-Mahmoudi/BOAM_Repo/tree/main/BOAMWorkshops/GroundTruth.

  5. 5.

    https://github.com/Brahim-Mahmoudi/BOAM_Repo/tree/main/BOAMWorkshops/UseCaseGeneration.

  6. 6.

    https://github.com/miguelfbrito/microservice-identification.

  7. 7.

    https://github.com/Brahim-Mahmoudi/BOAM_Repo.git.

  8. 8.

    https://www.compiere.com/products/capabilities/.

References

  1. 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)

    Google Scholar 

  2. Annett, R.: Working with Legacy Systems. Packt (2019)

    Google Scholar 

  3. 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

  4. Bezdek, J.C., Ehrlich, R., Full, W.: FCM: the fuzzy c-means clustering algorithm. Comput. Geosci. 10(2–3), 191–203 (1984)

    Article  Google Scholar 

  5. 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)

    Google Scholar 

  6. 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)

    Article  Google Scholar 

  7. Elov, B., Khamroeva, S.M., Xusainova, Z.: The pipeline processing of NLP. In: E3S Web of Conferences, vol. 413, p. 03011. EDP Sciences (2023)

    Google Scholar 

  8. 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)

    Google Scholar 

  9. Evans, E.: Domain-Driven Design: Tackling Complexity in the Heart of Software. Addison-Wesley Professional (2004)

    Google Scholar 

  10. 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)

    Google Scholar 

  11. Gottesdiener, E.: Requirements by Collaboration: Workshops for Defining Needs. Addison-Wesley Professional (2002)

    Google Scholar 

  12. Gottesdiener, E.: Use cases: best practices. In: Rational Software White Paper (2003)

    Google Scholar 

  13. 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)

    Google Scholar 

  14. 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)

    Google Scholar 

  15. Gysel, M., Kölbener, L.: Service cutter-a structured way to service decomposition. Ph.D. thesis, HSR Hochschule für Technik Rapperswil (2015)

    Google Scholar 

  16. 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)

    Google Scholar 

  17. Jacobson, I.: Use cases-yesterday, today, and tomorrow. Softw. Syst. Model. 3, 210–220 (2004)

    Article  Google Scholar 

  18. 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)

    Google Scholar 

  19. 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

    Google Scholar 

  20. Newman, S.: Building Microservices. O’Reilly Media, Inc. (2021)

    Google Scholar 

  21. 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)

    Google Scholar 

  22. Rosenberg, D., Scott, K.: Use Case Driven Object Modeling with UML. Springer (1999)

    Google Scholar 

  23. 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)

    Google Scholar 

  24. 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

  25. 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)

    Google Scholar 

  26. Vernon, V.: Implementing Domain-Driven Design. Addison-Wesley (2013)

    Google Scholar 

  27. Wang, Y., Kadiyala, H., Rubin, J.: Promises and challenges of microservices: an exploratory study. Empir. Softw. Eng. 26(4), 63 (2021)

    Article  Google Scholar 

  28. 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)

    Google Scholar 

  29. 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

Download references

Acknowledgment

We sincerely thank the professor for providing the student systems that greatly enhanced our dataset.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Brahim Mahmoudi .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2025 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

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)

Publish with us

Policies and ethics