This is a sample application designed with the following patterns:
To achieve this, it will be made use of the frameworks:
- Axon Framework
- Xtend
- Maven Polyglot
- Hibernate/EclipseLink
- Spring
- Vert.x
- ...
The application will be created step by step. Each step will be illustrated by a Maven project. The first steps provide only a runner displaying messages on a console.
Eclipse is used to edit the projects.
In fact, the first steps deal with a Hello World application, to stick to the most commun minimalistic model.
Step 0 - Helloworld
A bare bone Maven project to print a simple "Hello World!" on the console, using the File System to store the events.
Step 1 - Helloworld again
Refactoring of the Maven pom and the runner.
Refactoring with Xtend.
Step 3 - Helloworld with Polyglot for Maven
Use Polyglot for Maven with Groovy
Step 4 - Helloworld with JPA persistence
Use JPA for persistence. Require Spring.
From each Maven project:
mvn package
See README.md file of each Maven project.
avthart/spring-boot-axon-sample
Sample application using Spring Boot, Axon, ElasticSearch, AngularJS and Websockets
Basic Axon Framework sample using vert.x and angular.js
Domain Driven Design : des armes pour affronter la complexité
A la rencontre d’une architecture méconnue : CQRS
CQRS, l’architecture aux deux visages :