
ยท
Axoniq Conference 2025 Day 1: EMN Specification - From Event Models to Axon Framework 5 Code
Simon Samarovski and Christian Tiel from Holisticon introduce EMN - a machine-readable language specification for event modeling, enabling validation, automation, and code generation. See live demo generating Axon Framework 5 code from event models.
๐ฏ Speakers:
Simon Samarovski - Holisticon, Hamburg
Christian Tiel - Holisticon, Hamburg
๐ฅ What is EMN?
A standardized XML-based specification for event modeling (like BPMN for processes):
Machine-readable event model format
Separates semantics from visualization
Enables tool interoperability
Supports validation and automation
Code generation from models
Funded by German Ministry of Science
๐ก Key Innovation:
Problem: Event models are images - no validation, no automation, tool lock-in
Solution: EMN provides machine-readable XML specification enabling:
โ Automated validation
โ Code generation (Axon Framework 5)
โ Test generation from specifications
โ Tool interoperability
โ Version control
โ CI/CD integration
๐๏ธ EMN Components:
Semantic Model - Timelines, slices, commands, events, views
Type System - Reusable structures (JSON Schema, Avro, XML Schema)
Instance Values - Concrete examples for specifications
Visual Representation - Diagram Interchange/Context (from OMG)