arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2603.08200cs.CR
收藏

将C++单体架构自动转换为Java EE的经验

Experience on Automatically Converting a C++ Monolith to Java EE

Badger Systems GmbH(Badger Systems 有限公司)

Andre Vehreschild, Lexi Pimenidis

AI总结:

本文介绍了将C++单体架构转换为Java EE的过程,重点在于解决多重继承、枚举处理等技术问题,并通过持续生成Java代码实现成功运行。

摘要:

将大型C++代码库(80万行代码)单独转换为Java本身具有挑战性。将架构从单体转换为符合Java应用服务器标准的应用,并在WildFly上运行是另一回事。本报告描述了在C++到Java转换过程中获得的经验,使用的技术以及成功在应用服务器上首次运行Java代码的方法。描述了解决通常的C++到Java问题(如多重继承、枚举处理和作用域对象)的方法。开发了一款基于clang-tool的软件持续生成Java代码,因为C++代码库的开发仍在继续。

英文摘要:

Converting a large C++ code base (800k lines of code) into Java alone is challenging. Changing the architecture from a monolith into an application adhering to the Java application server standard and to run it on WildFly is a different number. This report describes the experience made during the C++ to Java conversion, the techniques used as well as the way to success of running the Java code on the application server for the first time. The approaches to solve the usual C++ to Java culprits, like multiple inheritance, enum-handling and scoped objects are described. A clang-tool-based software is developed to continuously regenerate the Java, because development on the C++ code base continued.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑