Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 11 Next »

Introduction

JEAF Generator can be used for code generation based on UML models. In addition JEAF Generator also is used to generate so called message constants which are part of JEAF’s Mechanism for Internationalization.

JEAF Generator is provided as Maven Plugin. Using Maven it can be integrated into your projects very easily. Main input for JEAF Generator is an XMI Export of your UML model. In addition you have to configure for Maven Plugin which parts of the model should be taken into account during the generation process and what should be generated.

Example:

  • Code generation should only be done for Service Objects for classes that are located in package of com.anaptecs.jeaf.accounting and below

Development Process when working with JEAF Generator

When working with JEAF Generator then development process in general will look as follows:

#

Activity

Additional Documentation

Create / update classes etc. in UML model

UML Modelling Guide

Modelling Guidelines

2.

Export UML model to XMI

Export UML Model from MagicDraw UML

3.

Run JEAF Generator as part of you Maven Build

Integrate JEAF Generator into Maven Build

Generating Code

4.

Implement parts that need to be done manually

5.

Test and integrate your changes

How to use JEAF Generator

As mentioned before JEAF Generator is provided as Maven Plugin that is supposed to be integrated into your standard build process. All required configurations are done through the plugin configuration.

For further information we recommend to at least read section about its general behavior and then either continue reading the documentation (see links below) or to checkout our example project from our Git repository.

Releases

Overview about latest released versions can be found here:

Further information

  • No labels