Skip to content
Timur Sağlam edited this page Aug 15, 2017 · 29 revisions

The Ecorification of Java code was originally developed as a part of a bachelor's thesis. The thesis is accessible at KITopen.

Ecorification of Java Code

This is a proof of concept for the automatic integration of Ecore functionality into Java code. The resulting code can be used exactly as before, but it also uses the modeling infrastructure and implements all interfaces for Ecore-based tooling. To achieve this, the original Java code will be interlaced with the generated model code of an Ecore metamodel that was automatically extracted from the original Java code (see 0. Concept). For the extraction of Ecore metamodels from Java code, an automated approach was developed (see the EcoreMetamodelExtraction project and its wiki).

Prototypical Implementation

IMPORTANT: This first implementation is prototypical and is opposed to the Ecore metamodel extraction limited to the ecorification of few selected features.

Diagram of the Ecorification Workflow

The prototypical ecorification of a Java project consists out of the following steps:

Clone this wiki locally