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 | ||
2. | Export UML model to XMI | |
3. | Run JEAF Generator as part of you Maven Build | |
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.
Current Version
Overview about latest released versions can be found here:
Further information
- Export UML Model from MagicDraw UML
- Maven Integration
- Generating Code
- General Behavior of JEAF Generator
- Generating Code for Services
- Generating Code for Components
- Generating Code for Persistence
- Generating Code for Domain Objects
- Generating Code for POJOs
- Generating Code for Object Mappings
- Generating Code for Activities
- Generating Code for Actors / Roles and Authorization
- Generating Code for Service Providers
- Generating Open API Specification
- JEAF Generator Error Codes
- JEAF Generator Sample
- JEAF Generator Release Notes