...
Please ensure, before you jump into the sample code, that you are familiar with the model driven development process in general. You will find further information about that on the following sides:
Download JEAF Generator Sample Project
...
anaptecs Git Repository
Clone latest version directly from our Git repository: https://bitbucket.org/anaptecs/jeaf-generator-samples.gitMaven Repository
Download the latest released version of the JEAF Generator Samples directly from Maven Central
https://search.maven.org/artifact/com.anaptecs.jeaf.generator.sample/jeaf-generator-sample-project Maven Central Repository
Structure of the example project
As you can see in our Modelling Guidelines JEAF Generator is able to generate lots of different types of code based on the UML model. To ensure a better overview in the example project we created an independent Maven sub module for every content type that will be generated.
Maven Project | Description | Git Repository Link |
---|---|---|
| Top level project of sample. | |
| Project contains the UML model of the sample project as well as the appropriate XMI export and an HTML export of the model. Sub module that make use of JEAF Generator reference the packaged UML model via Maven dependency. https://bitbucket.org/anaptecs/jeaf-generator-samples/src/master/accounting-model/ Define XMI as Input for JEAF Generator | |
| Project contains the service objects that are generated from the UML model | https://bitbucket.org/anaptecs/jeaf-generator-samples/src/master/accounting-service-objects/ |
| Project contains the service interfaces of the generated services of the sample project. | https://bitbucket.org/anaptecs/jeaf-generator-samples/src/master/accounting-services-api/ |
| Project contains the generated runtime classes for services that are required by JEAF | https://bitbucket.org/anaptecs/jeaf-generator-samples/src/master/accounting-services-api-runtime/ |
| Project contains the generated REST facade for services | https://bitbucket.org/anaptecs/jeaf-generator-samples/src/master/accounting-rest/ |
| Project contains the generated stubs for service implementations. | https://bitbucket.org/anaptecs/jeaf-generator-samples/src/master/accounting-services-impl/ |
| Project contains the generated runtime classes for components. | https://bitbucket.org/anaptecs/jeaf-generator-samples/src/master/accounting-services-impl-runtime/ |
| Project contains the generated persistent classes. | https://bitbucket.org/anaptecs/jeaf-generator-samples/src/master/accounting-persistent-objects/ |
| Project contains the generated domain objects. | https://bitbucket.org/anaptecs/jeaf-generator-samples/src/master/accounting-domain-objects/ |
| Project contains the generated POJOs. | https://bitbucket.org/anaptecs/jeaf-generator-samples/src/master/accounting-pojos/ |
| Project contains generated Object Mappers. | https://bitbucket.org/anaptecs/jeaf-generator-samples/src/master/accounting-object-mappers/ |
| Project contains the generated interfaces for activities. | https://bitbucket.org/anaptecs/jeaf-generator-samples/src/master/accounting-activities-api/ |
| Project contains the generated stubs for activities. | https://bitbucket.org/anaptecs/jeaf-generator-samples/src/master/accounting-activities-impl/ |
| Project contains the generated interface for service providers. | https://bitbucket.org/anaptecs/jeaf-generator-samples/src/master/accounting-service-providers-api/ |
| Project contains the generated stubs for service provider implementations. | https://bitbucket.org/anaptecs/jeaf-generator-samples/src/master/accounting-service-providers-impl/ |
| Project contains the generated stubs to test services. | https://bitbucket.org/anaptecs/jeaf-generator-samples/src/master/accounting-junit-testcases/ |
Info |
---|
In general the configuration of the sample project is a very good baseline to setup your projects. However in case of the sample project all output will be written to |
...