GenAI-Driven Migration of Legacy COBOL Applications to Clean Java Code

Creators: Kuck, Christine and Brune, Philipp
Title: GenAI-Driven Migration of Legacy COBOL Applications to Clean Java Code
Item Type: Conference or Workshop Item
Event Title: (Proceedings of the) 22nd International Conference on Smart Business Technologies (ICSBT)
Event Location: Bilbao, Spain
Event Dates: June, 11-12, 2025
Projects: TTZ-GZ
Page Range: pp. 53-71
Date: 1 November 2025
Divisions: Informationsmanagement
Abstract (ENG): Legacy systems continue to remain crucial for the business operations of many organizations around the world. However, for several reasons, there is an increasing pressure to modernize them. While the existing approaches to legacy system modernization have considerable drawbacks, the recent advancements in generative Artificial Intelligence (GenAI), and in particular Large Language Models (LLM), provide new opportunities. Therefore, this paper explores the capabilities of LLMs in converting procedural COBOL applications to a modern Java architecture, while maintaining the legacy system’s original functionality. An LLM-based framework for COBOL-to-Java conversion is developed and evaluated. The generated Java code was assessed using static code analysis and review by experienced developers. Results indicate, that LLMs can successfully capture the original business logic and convert COBOL applications to logically correct, clean and truly object-oriented Java code. However, the complete functional correctness of the generated Java code could not be verified in practice so far, and manual preparation of the input data as well as extensive prompt engineering were necessary to obtain these results.
Forthcoming: No
Main areas or research: Transformationmanagement
Language: English
Uncontrolled Keywords: Legacy modernization Evolution and reuse Artificial intelligence COBOL Java
Link eMedia: Download
Citation:

Kuck, Christine and Brune, Philipp (2025) GenAI-Driven Migration of Legacy COBOL Applications to Clean Java Code. In: (Proceedings of the) 22nd International Conference on Smart Business Technologies (ICSBT), June, 11-12, 2025, Bilbao, Spain, pp. 53-71. (Communications in Computer and Information Science; 2666). ISBN 9783032086136

Actions for admins (login required)

View Item in edit mode View Item in edit mode