{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,3,24]],"date-time":"2026-03-24T00:22:28Z","timestamp":1774311748123,"version":"3.50.1"},"reference-count":39,"publisher":"MDPI AG","issue":"10","license":[{"start":{"date-parts":[[2025,10,6]],"date-time":"2025-10-06T00:00:00Z","timestamp":1759708800000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"content-domain":{"domain":["www.mdpi.com"],"crossmark-restriction":true},"short-container-title":["BDCC"],"abstract":"<jats:p>Over the past decade, many software enterprises have migrated from monolithic to microservice architectures to enhance scalability, maintainability, and performance. However, this transition presents significant challenges, requiring considerable development efforts, research, customization, and resource allocation over extended periods. Furthermore, the success of migration is not guaranteed, highlighting the complexities organizations face in modernizing their software systems. To address these challenges, this study introduces Mono2Micro, a comprehensive framework designed to automate the migration process while preserving structural integrity and optimizing service boundaries. The framework focuses on three core patterns: database patterns, service decomposition, and communication patterns. It leverages machine learning algorithms, including Random Forest and Louvain clustering, to analyze database query patterns along with static and dynamic database model analysis, which enables the identification of relationships between models, facilitating the systematic decomposition of microservices while ensuring efficient inter-service communication. To validate its effectiveness, Mono2Micro was applied to a student information system for faculty management, demonstrating its ability to streamline the migration process while maintaining functional integrity. The proposed framework offers a systematic and scalable solution for organizations and researchers seeking efficient migration from monolithic systems to microservices.<\/jats:p>","DOI":"10.3390\/bdcc9100253","type":"journal-article","created":{"date-parts":[[2025,10,6]],"date-time":"2025-10-06T11:42:49Z","timestamp":1759750969000},"page":"253","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":2,"title":["A Pattern-Based Framework for Automated Migration of Monolithic Applications to Microservices"],"prefix":"10.3390","volume":"9","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-7251-1921","authenticated-orcid":false,"given":"Hossam","family":"Hassan","sequence":"first","affiliation":[{"name":"Department of Information Systems, Faculty of Computers and Artificial Intelligence, Helwan University, Cairo 11795, Egypt"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-2888-0367","authenticated-orcid":false,"given":"Manal A.","family":"Abdel-Fattah","sequence":"additional","affiliation":[{"name":"Department of Information Systems, Faculty of Computers and Artificial Intelligence, Helwan University, Cairo 11795, Egypt"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-2142-6444","authenticated-orcid":false,"given":"Wael","family":"Mohamed","sequence":"additional","affiliation":[{"name":"Department of Information Systems, Faculty of Computers and Artificial Intelligence, Helwan University, Cairo 11795, Egypt"}]}],"member":"1968","published-online":{"date-parts":[[2025,10,6]]},"reference":[{"key":"ref_1","first-page":"104","article-title":"Migrating from Monolithic to Microservice Architectures: A Systematic Literature Review","volume":"15","author":"Hassan","year":"2024","journal-title":"Int. J. Adv. Comput. Sci. Appl."},{"key":"ref_2","unstructured":"Newman, S. (2021). Building Microservices: Designing Fine-Grained Systems, O\u2019Reilly Media. [2nd ed.]."},{"key":"ref_3","doi-asserted-by":"crossref","unstructured":"de Almeida, M.G., and Canedo, E.D. (2022). Authentication and Authorization in Microservices Architecture: A Systematic Literature Review. Appl. Sci., 12.","DOI":"10.3390\/app12063023"},{"key":"ref_4","doi-asserted-by":"crossref","first-page":"106996","DOI":"10.1016\/j.infsof.2022.106996","article-title":"Improving microservices extraction using evolutionary search","volume":"151","author":"Sellami","year":"2022","journal-title":"Inf. Softw. Technol."},{"key":"ref_5","doi-asserted-by":"crossref","first-page":"111393","DOI":"10.1016\/j.jss.2022.111393","article-title":"Smells and Refactorings for Microservices Security: A Multivocal Literature Review","volume":"192","author":"Ponce","year":"2022","journal-title":"J. Syst. Softw."},{"key":"ref_6","doi-asserted-by":"crossref","first-page":"1464","DOI":"10.1109\/TSC.2018.2889087","article-title":"Microservices: Migration of a Mission Critical System","volume":"14","author":"Mazzara","year":"2021","journal-title":"IEEE Trans. Serv. Comput."},{"key":"ref_7","doi-asserted-by":"crossref","unstructured":"Assuncao, W.K.G., Colanzi, T.E., Carvalho, L., Pereira, J.A., Garcia, A., de Lima, M.J., and Lucena, C. (2021, January 9\u201312). Multi-Criteria Strategy for Redesigning Legacy Features as Microservices: An Industrial Case Study. Proceedings of the 2021 IEEE International Conference on Software Analysis, Evolution and Reengineering, SANER 2021, Honolulu, HI, USA.","DOI":"10.1109\/SANER50967.2021.00042"},{"key":"ref_8","doi-asserted-by":"crossref","unstructured":"Velepucha, V., and Flores, P. (2021, January 23\u201325). Monoliths to microservices\u2014Migration Problems and Challenges: A SMS. Proceedings of the 2021 2nd International Conference on Information Systems and Software Technologies, ICI2ST 2021, Quito, Ecuador.","DOI":"10.1109\/ICI2ST51859.2021.00027"},{"key":"ref_9","doi-asserted-by":"crossref","first-page":"88339","DOI":"10.1109\/ACCESS.2023.3305687","article-title":"A Survey on Microservices Architecture: Principles, Patterns and Migration Challenges","volume":"11","author":"Velepucha","year":"2023","journal-title":"IEEE Access"},{"key":"ref_10","doi-asserted-by":"crossref","unstructured":"Ponce, F., Marquez, G., and Astudillo, H. (2019, January 4\u20139). Migrating from monolithic architecture to microservices: A Rapid Review. Proceedings of the 2019 38th International Conference of the Chilean Computer Science Society (SCCC), Concepcion, Chile.","DOI":"10.1109\/SCCC49216.2019.8966423"},{"key":"ref_11","doi-asserted-by":"crossref","first-page":"4213","DOI":"10.1109\/TSE.2023.3287297","article-title":"Decomposition of Monolith Applications Into Microservices Architectures: A Systematic Review","volume":"49","author":"Abgaz","year":"2023","journal-title":"IEEE Trans. Softw. Eng."},{"key":"ref_12","doi-asserted-by":"crossref","unstructured":"Fritzsch, J., Bogner, J., Zimmermann, A., and Wagner, S. (2018). From Monolith to Microservices: A Classification of Refactoring Approaches. arXiv.","DOI":"10.1007\/978-3-030-06019-0_10"},{"key":"ref_13","unstructured":"Ghofrani, J., and L\u00fcbke, D. (2018, May 01). Challenges of Microservices Architecture: A Survey on the State of the Practice. Available online: http:\/\/ceur-ws.org\/Vol-2072."},{"key":"ref_14","doi-asserted-by":"crossref","first-page":"23389","DOI":"10.1109\/ACCESS.2024.3365079","article-title":"Evolution of Microservices Identification in Monolith Decomposition: A Systematic Review","volume":"12","author":"Oumoussa","year":"2024","journal-title":"IEEE Access"},{"key":"ref_15","doi-asserted-by":"crossref","first-page":"110868","DOI":"10.1016\/j.jss.2020.110868","article-title":"A taxonomy of service identification approaches for legacy software systems modernization","volume":"173","author":"Abdellatif","year":"2021","journal-title":"J. Syst. Softw."},{"key":"ref_16","unstructured":"Justas, K., and Dalius, M. (2019). Migrating Legacy Software to Microservices Architecture, Institute of Electrical and Electronics Engineers."},{"key":"ref_17","doi-asserted-by":"crossref","unstructured":"Kalske, M., M\u00e4kitalo, N., and Mikkonen, T. (2018). Challenges When Moving from Monolith to Microservice Architecture. Lecture Notes in Computer Science (Including Subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics), Springer.","DOI":"10.1007\/978-3-319-74433-9_3"},{"key":"ref_18","doi-asserted-by":"crossref","unstructured":"Su, R., Li, X., and Taibi, D. (2024). From Microservice to Monolith: A Multivocal Literature Review. Electronics, 13.","DOI":"10.3390\/electronics13081452"},{"key":"ref_19","doi-asserted-by":"crossref","first-page":"421","DOI":"10.1002\/cae.22586","article-title":"A systematic mapping study: The new age of software architecture from monolithic to microservice architecture\u2014Awareness and challenges","volume":"31","author":"Razzaq","year":"2023","journal-title":"Comput. Appl. Eng. Educ."},{"key":"ref_20","doi-asserted-by":"crossref","first-page":"102200","DOI":"10.1016\/j.sysarc.2021.102200","article-title":"A multi-model based microservices identification approach","volume":"118","author":"Daoud","year":"2021","journal-title":"J. Syst. Arch."},{"key":"ref_21","doi-asserted-by":"crossref","first-page":"417","DOI":"10.1142\/S021819402250019X","article-title":"A Novel Method for Identifying Microservices by Considering Quality Expectations and Deployment Constraints","volume":"32","author":"Li","year":"2022","journal-title":"Int. J. Softw. Eng. Knowl. Eng."},{"key":"ref_22","doi-asserted-by":"crossref","unstructured":"Kalia, A.K., Xiao, J., Krishna, R., Sinha, S., Vukovic, M., and Banerjee, D. (2021). Mono2Micro: A practical and effective tool for decomposing monolithic Java applications to microservices. ESEC\/FSE 2021\u2014Proceedings of the 29th ACM Joint Meeting European Software Engineering Conference and Symposium on the Foundations of Software Engineering, Association for Computing Machinery, Inc.","DOI":"10.1145\/3468264.3473915"},{"key":"ref_23","first-page":"72","article-title":"Graph Neural Network to Dilute Outliers for Refactoring Monolith Application","volume":"35","author":"Desai","year":"2021","journal-title":"Proc. AAAI Conf. Artif. Intell."},{"key":"ref_24","doi-asserted-by":"crossref","unstructured":"Ma, S.-P., Lu, T.-W., and Li, C.-C. (2022, January 15\u201318). Migrating Monoliths to Microservices based on the Analysis of Database Access Requests. Proceedings of the 16th IEEE International Conference on Service-Oriented System Engineering, SOSE 2022, San Francisco, CA, USA.","DOI":"10.1109\/SOSE55356.2022.00008"},{"key":"ref_25","doi-asserted-by":"crossref","first-page":"102411","DOI":"10.1016\/j.peva.2024.102411","article-title":"Stepwise migration of a monolith to a microservice architecture: Performance and migration effort evaluation","volume":"164","author":"Faustino","year":"2024","journal-title":"Perform. Eval."},{"key":"ref_26","doi-asserted-by":"crossref","first-page":"20357","DOI":"10.1109\/ACCESS.2022.3152803","article-title":"Monolithic vs. Microservice Architecture: A Performance and Scalability Evaluation","volume":"10","author":"Blinowski","year":"2022","journal-title":"IEEE Access"},{"key":"ref_27","first-page":"1","article-title":"Migration from Monolith to Microservices: Benchmarking a Case Study","volume":"3","author":"Bucchiarone","year":"2020","journal-title":"J. Object Technol."},{"key":"ref_28","doi-asserted-by":"crossref","unstructured":"Fuertes, A.B., P\u00e9rez, M., and Meza, J. (2023). Transpiler-Based Architecture Design Model for Back-End Layers in Software Development. Appl. Sci., 13.","DOI":"10.3390\/app132011371"},{"key":"ref_29","doi-asserted-by":"crossref","unstructured":"Tapia, F., Mora, M.\u00c1., Fuertes, W., Aules, H., Flores, E., and Toulkeridis, T. (2020). From monolithic systems to microservices: A comparative study of performance. Appl. Sci., 10.","DOI":"10.3390\/app10175797"},{"key":"ref_30","doi-asserted-by":"crossref","unstructured":"Prasandy, T., Murad, D.F., and Darwis, T. (2020, January 13\u201314). Migrating Application from Monolith to Microservices. Proceedings of the 2020 International Conference on Information Management and Technology (ICIMTech), Bandung, Indonesia.","DOI":"10.1109\/ICIMTech50083.2020.9211252"},{"key":"ref_31","unstructured":"Vainio, M., and Antti-Pekka, T. (2021, February 21). The Benefits and Challenges in Migrating from a Monolithic Architecture into Microservice Architecture. Available online: http:\/\/www.cs.helsinki.fi\/."},{"key":"ref_32","doi-asserted-by":"crossref","first-page":"110380","DOI":"10.1016\/j.jss.2019.07.008","article-title":"A dataflow-driven approach to identifying microservices from monolithic applications","volume":"157","author":"Li","year":"2019","journal-title":"J. Syst. Softw."},{"key":"ref_33","doi-asserted-by":"crossref","unstructured":"Jin, W., Liu, T., Zheng, Q., Cui, D., and Cai, Y. (2018, January 2\u20137). Functionality-Oriented Microservice Extraction Based on Execution Trace Clustering. Proceedings of the 2018 IEEE International Conference on Web Services, ICWS\u2014Part of the 2018 IEEE World Congress on Services, San Francisco, CA, USA.","DOI":"10.1109\/ICWS.2018.00034"},{"key":"ref_34","doi-asserted-by":"crossref","unstructured":"Ren, Z., Wang, W., Wu, G., Gao, C., Chen, W., Wei, J., and Huang, T. (2018, January 25\u201328). Migrating web applications from monolithic structure to microservices architecture. Proceedings of the ACM International Conference Proceeding Series, Tokyo, Japan.","DOI":"10.1145\/3275219.3275230"},{"key":"ref_35","doi-asserted-by":"crossref","first-page":"57","DOI":"10.1109\/MITP.2018.2889268","article-title":"Framework for Interaction between Databases and Microservice Architecture","volume":"21","author":"Kholy","year":"2019","journal-title":"IT Prof."},{"key":"ref_36","doi-asserted-by":"crossref","first-page":"01","DOI":"10.5121\/ijdkp.2015.5201","article-title":"A Review on Evaluation Metrics for Data Classification Evaluations","volume":"5","author":"Hossin","year":"2015","journal-title":"Int. J. Data Min. Knowl. Manag. Process"},{"key":"ref_37","doi-asserted-by":"crossref","first-page":"987","DOI":"10.1109\/TSE.2019.2910531","article-title":"Service Candidate Identification from Monolithic Systems Based on Execution Traces","volume":"47","author":"Jin","year":"2019","journal-title":"IEEE Trans. Softw. Eng."},{"key":"ref_38","first-page":"4471","article-title":"Scalable and Effective Conductance-Based Graph Clustering","volume":"37","author":"Lin","year":"2023","journal-title":"Proc. AAAI Conf. Artif. Intell."},{"key":"ref_39","doi-asserted-by":"crossref","first-page":"131","DOI":"10.1007\/s10664-008-9102-8","article-title":"Guidelines for conducting and reporting case study research in software engineering","volume":"14","author":"Runeson","year":"2009","journal-title":"Empir. Softw. Eng."}],"container-title":["Big Data and Cognitive Computing"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/2504-2289\/9\/10\/253\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,6]],"date-time":"2025-10-06T12:24:21Z","timestamp":1759753461000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/2504-2289\/9\/10\/253"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025,10,6]]},"references-count":39,"journal-issue":{"issue":"10","published-online":{"date-parts":[[2025,10]]}},"alternative-id":["bdcc9100253"],"URL":"https:\/\/doi.org\/10.3390\/bdcc9100253","relation":{},"ISSN":["2504-2289"],"issn-type":[{"value":"2504-2289","type":"electronic"}],"subject":[],"published":{"date-parts":[[2025,10,6]]}}}