MoDisco Use Case - SharenGo Java Legacy Reverse-Engineering

MoDisco Logo

Keywords

Java, Reverse-Engineering, Legacy modernization


Overview

This complete use case, which covers both the Model Discovery and Model Understanding phases, is about reverse engineering a Java application. It uses the Java Abstract Syntax discovery tool (from the MoDisco tool box) to discoverer the abstract syntax tree (AST) of each Java compilation unit (i.e. each source file). The generated models are then analyzed by model transformations in order to produce a SharenGo business model.

This use case has been developed and provided by Argia-Engineering Company.

The overall approach is summarized in the following figure:



"SharenGo Java Legacy Reverse-Engineering" Use Case's Overview

The model discovery step uses the Java Abstract Syntax discovery tool. This tool produces models representing complete abstract syntax trees of Java source files.

The model understanding step is about finding business classes and services within the previously produced models. In order to find those classes, it is necessary to implement (in an ATL model-to-model transformation) some heuristics. For instance, a business class is a class having BusinessObjectBase as supertype, a business rule is a method throwing a BusinessException, etc.

The two metamodels mentioned in the previous schema (and so used within this use case) are available at the Download section.


Related Use Cases

None at the current time.


Documentation

Choose a document

"SharenGo Java Legacy Reverse-Engineering" Use Case - Installation & Execution Guide: How to install and execute this use case for building a SharenGo model from SharenGo Java source files.
Not available

Download

Choose a download

Due to IP restrictions, the prototype is not currently available from Eclipse.org.

General Information