Event Sourcing

Event Sourcing is a pattern for data storage, where instead of storing the current state of any entity, all past changes to that state are stored. With Axon Framework, you can implement Event Sourcing with minimal boilerplate code, giving you the benefits of Event Sourcing, without the hassle.

From Model to Code - Translating the (Event)Model into Code

By Ivan Dugalic

    6 min

|

    Nov 24, 2020

Following the previous blog post, this one will focus on translating the event model to the source code, by using Axon Framework as a programming model and Axon Server as an event store and message broker.

Set Based Consistency Validation

By Yvonne Ceelie

    5 min

|

    Nov 11, 2020

Requests like “How do I ensure the email address in a User aggregate is unique?” reach us quite often. We can rephrase them: How do I consistently validate consistency among a set in such a system? These are issues encountered when using CQRS in combination with Event Sourcing. Due to this, they crop up when using Axon Framework. Before diving into how to tackle this with Axon, let us first explain the problem we face here.

From Model to Code: Event Modeling & Axon Framework

By Sara Torrey

    6 min

|

    Oct 27, 2020

Well, the "old me" would design an application "on the fly;" AKA, create a repository on GitHub, open it on IntelliJ, and BAM! You’ve got an application. Success? Sure… maybe for a simple application. But what about designing a large-scale application or a modular application with individual parts that can scale and evolve easily? 

High Availability with AxonServer and Axon Framework

By Bert Laverman

    14 min

|

    Sep 25, 2020

In this blog, we will look at some of the choices you have that Axon Framework provides and its infrastructural companion Axon Server.

Running Axon Server in a Virtual Machine

By Bert Laverman

    23 min

|

    Jun 22, 2020

So far, we’ve looked at Axon Server running locally to get a feel for its behaviour and the typical customization points, and in Docker and Kubernetes. We haven’t done it yet to run AxonServer in a VM as we have to do progressively more “prep work” to set up the environment. Luckily, nowadays, there’s a focus on automation that can get us out of this, keeping the day-to-day work to a minimum, thanks to DevOps and CI/CD.

Running Axon Server in Docker - Continuing from local developer install to containerized

By Bert Laverman

    17 min

|

    Apr 24, 2020

In my previous post, I showed you how to run Axon Server locally and configure it for secure operations. We also looked at the possibilities for configuring storage locations. This time around we’ll look at running it in Docker, both using the public image up on Docker Hub as well as with a locally built image, and why you might want to do that.

How to use AxonIQ Cloud Console

By Yvonne Ceelie

    4 min

|

    Apr 11, 2020

When you don’t want the hassle of maintaining Axon Server yourself or just want to test your newly developed application quickly, you can use AxonIQ Cloud Console instead. In this blog, we will explain how to start.

Running Axon Server - Going from local developer install to full-featured cluster in the cloud

By Bert Laverman

    18 min

|

    Apr 01, 2020

In this blog series, I will guide you on installing Axon Server for different scenarios, starting with a local installation of Axon Server Standard Edition as a “normal” application, via Docker and Docker-compose, to eventually arrive at a full cluster of Axon Server Enterprise Edition on Cloud VMs. In this first blog, we will focus on getting a feel for the work involved in setting up a scripted installation.

Bounded contexts with Axon

By Ivan Dugalic

    6 min

|

    Apr 05, 2019

Bounded Contexts represent logical boundaries from a run-time perspective, defined by contracts within software artefacts where the model is implemented. In Axon applications, the contract (API) is represented as a set of messages (commands, events, and queries) which the application publishes and consumes. Bounded Contexts are a strategic concept in Domain Driven Design, and it is important to know how it is reflected in the architecture and organizational/team structure.

Strangling a monolith with Axon Server

By Yvonne Ceelie

    4 min

|

    Mar 08, 2019

The process of transforming large legacy monoliths into decoupled, scalable microservices systems can be very complex. This blog describes an approach on how using  Axon Server with the strangler pattern can help simplify this process and speed up the delivery time.