Machine Learning-Driven Service Boundary Detection for Effective Legacy System Modernization

Authors

  • Prof. Natalie S. Winthrop Lund University, Sweden

Keywords:

legacy software, machine learning, service boundary detection, system modularization

Abstract

The evolution of legacy software systems presents an ongoing challenge for software engineering due to aging architectures, lack of documentation, and the increasing need for modular, maintainable, and scalable systems. This research examines the integration of machine learning-assisted techniques in the modularization of legacy systems, particularly through service boundary detection, as a means to support modernization efforts. By analyzing the convergence of traditional software refactoring approaches, automated service identification, and contemporary frameworks for legacy system assessment, this study situates machine learning as a transformative tool within legacy software evolution. The investigation begins with a theoretical foundation of legacy system characteristics and the historical progression of modernization strategies, emphasizing the limitations of manual refactoring and the benefits of intelligent automation. Methodologically, the study employs a detailed qualitative and conceptual framework derived from empirical literature, including case studies, expert surveys, and comparative analyses of software modularization techniques. The results are interpreted descriptively, highlighting the ability of machine learning models to identify latent service boundaries, reduce coupling, and improve system maintainability while ensuring functional integrity. The discussion synthesizes these findings with broader theoretical debates on software engineering practices, including cost-benefit considerations, risk management, and organizational adoption of AI-assisted techniques. Limitations are acknowledged concerning model generalizability and domain specificity, and recommendations for future research include cross-domain validation, integration with service-oriented architecture migration, and the development of explainable machine learning models for practitioner trust. This comprehensive study establishes a foundation for integrating artificial intelligence into legacy system modernization, positioning machine learning as a critical enabler for sustainable software evolution.

References

Alkazemi, B., (2014). A Framework to Assess Legacy Software Systems. J. Softw., 9(1), pp.111-115.

Hebbar, K. S. (2022). Machine learning-assisted service boundary detection for modularizing legacy systems. International Journal of Applied Engineering & Technology, 4(2), 401–414.

Bavota, G., Gethers, M., Oliveto, R., Poshyvanyk, D., Lucia, A. de, (2014). ACM Trans. Softw. Eng. Methodol. 23.

Stroulia, E., El-Ramly, M., Sorenson, P.G.: From legacy to web through interaction modeling. In: ICSM. (2002) 320–329.

Alkazemi, B.Y., Nour, M.K., Meelud, A.Q. (2013). Towards a Framework to Assess Legacy Systems, in: 2013 IEEE International Conference on Systems, Man, and Cybernetics. pp. 924–928.

Seacord, R. C., Plakosh, D., & Lewis, G. A. (2003). Modernizing legacy systems: software technologies, engineering processes, and business practices. Addison-Wesley Professional.

Almonaies, A. A., Cordy, J. R., & Dean, T. R. (2010, March). Legacy system evolution towards service-oriented architecture. In International workshop on SOA migration and evolution (pp. 53-62).

Raksi, M. (2017). Modernizing web application: case study (Master's thesis).

Jha, M. (2014). Building a Systematic Legacy System Modernization Approach (Doctoral dissertation, UNSW Sydney).

Distante, D., Tilley, S.R., Canfora, G.: Towards a holistic approach to redesigning legacy applications for the web with uwat. In: CSMR. (2006) 295–299.

Bennett, K., (1995). Legacy systems: Coping with success. IEEE software, 12(1), pp.19-23.

Seacord, R. C., Comella-Dorda, S., Lewis, G., Place, P., & Plakosh, D. (2001). Legacy system modernization strategies. Carnegie Mellon Software Engineering Institute, Pittsburgh, PA CMU/SEI2001-TR-025.

Khadka, R., Batlajery, B. V., Saeidi, A. M., Jansen, S., & Hage, J

. (2014, May). How do professionals perceive legacy systems and software modernization?. In Proceedings of the 36th International Conference on Software Engineering (pp. 36-47).

Bhardwa, S., (2018). The least and most popular undergraduate courses in the UK [WWW Document]. Times Higher Education. URL https://www.timeshighereducation.com/student/news/least-and-most-popular-undergraduate-courses-uk (accessed 12.1.20).

Anjo, A., Pinto, J.S., Oliveira, M.P., Isidro, R.O.G. and Pais, S.I.V. (2005). Computerized Diagnostic Test. Cadernos de Matemática, 5(3).

Downloads

Published

2026-01-31

How to Cite

Prof. Natalie S. Winthrop. (2026). Machine Learning-Driven Service Boundary Detection for Effective Legacy System Modernization. Research Index Library of Eijmr, 13(1), 1286–1292. Retrieved from https://eijmr.net/index.php/rileijmr/article/view/107

Issue

Section

Articles