MDDA with Eclipse and Java

MDDA with Eclipse and Java

The Java code generation is based on a defined UML model. The generation of the Java Application Programming Interfaces (APIs) is done in several steps during which the general UML model is transformed into a Java programming model. This model then serves as the input for the Java code generation.

The components for the model transformations and the code generation are embedded in the Eclipse development environment and use the tools provided there, especially the Eclipse Modeling Framework (EMF) and the UML2 interfaces. The generated Java code does not use EMF libraries any more. Hibernate is used as the persistence layer.

Separating the code generation process into different transformation steps allows reusing intermediate results for other purposes. Thus, the overall process becomes very flexible. The individual transformation steps can be configured and may be adapted or substituted according to customers' requests or due to special project requirements.