SlideShare a Scribd company logo
6
Most read
8
Most read
9
Most read
Presented By: Anshuman Shukla
Introduction to Axon
Framework with CQRS
Pattern.
Lack of etiquette and manners is a huge turn off.
KnolX Etiquettes
Punctuality
Join the session 5 minutes prior to
the session start time. We start on
time and conclude on time!
Feedback
Make sure to submit a constructive
feedback for all sessions as it is
very helpful for the presenter.
Silent Mode
Keep your mobile devices in silent
mode, feel free to move out of
session in case you need to attend
an urgent call.
Avoid Disturbance
Avoid unwanted chit chat during
the session.
Our Agenda
01 What is Axon Framework?
02 Axon Components
03 Axon Components Sub Parts
04
05
06
07
Standard Structure.
08
CQRS Architecture
CQRS Command API Flow
DEMO
What is CQRS?
What is Axon Framework?
Axon Framework is an Open-Source Framework for
event driven microservices and domain-driven design.It
is a Java Framework that gives developers access to
repositories,implementations of crucial components
including aggregates,command, and event buses,and
implementations of the CQRS architectural
pattern.Architectural principles like Domain Driven
Design and CQRS are the foundation of the
Framework.With this framework we can build incredibly
Scalable and Flexible applications.
Axon Components
1.Axon Framework,Domain Model- A core framework that
helps you build a domain centered on DDD,Event Sourcing
and CQRS patterns.
2.Axon Framework,Dispatch Model- Logical infrastructure
to support the domain model,that is, the routing and
coordination of commands and queries that deal with the
state of the Domain Model.
3.Axon Server- Physical Infrastructure to support the
Domain/Dispatch Model.
Axon Components
Domain Model Components Dispatch Model Axon Server
Aggregates
Commands/Command Handlers
Events/Event Handlers
Query Handlers
Sagas
Command Bus
Query Bus
Event Bus
Sagas
An Event Store based on H2(used for
storage of configuration) and a file
system(used for storage of event date)
A Messaging Router for the Events
flowing through the system.
What is CQRS?
CQRS stands for Command and Query Responsibility
Segregation.The Command/Query Responsibility
Segregation principle is essentially an application
development pattern that exhorts the segregation between
operations that update state and operations that query state.
Essentially, CQRS advocates usage of
Commands to update the state of various application
objects(Aggregate within a Bounded Context)
Queries to query the state of the various application
objects(Aggregate within a Bounded Context)
Controller Service Repository
GET
POST
PUT
DELETE
PATCH
Database
Standard Structure
Command API
Command
Command Handler
Events Handler
Query API
Query
Query Handler
Events Handler
Event
Store
Write DB
Read DB
POST
PUT
DELETE
PATCH
GET
CQRS Architecture
Events
Controller Command Gateway Aggregate
Event Store
Event Handler
Repository
/product/add
POST
send
handles
publishes
listens
CreateProductCommand
CreateProductCommand
ProductCreatedEvent
DB
CQRS Command API Flow
Demo
Thank You !
Get in touch with us:
Lorem Studio, Lord Building
D4456, LA, USA

More Related Content

PDF
MSA 전략 1: 마이크로서비스, 어떻게 디자인 할 것인가?
PPTX
Axon Framework, Exploring CQRS and Event Sourcing Architecture
PDF
Amazon EKS로 간단한 웹 애플리케이션 구축하기 - 김주영 (AWS) :: AWS Community Day Online 2021
PPTX
12 factor app an introduction
PPTX
Jenkins tutorial
PPTX
Enterprise Software Architecture styles
PDF
Design patterns for microservice architecture
PDF
[115]쿠팡 서비스 클라우드 마이그레이션 통해 배운것들
MSA 전략 1: 마이크로서비스, 어떻게 디자인 할 것인가?
Axon Framework, Exploring CQRS and Event Sourcing Architecture
Amazon EKS로 간단한 웹 애플리케이션 구축하기 - 김주영 (AWS) :: AWS Community Day Online 2021
12 factor app an introduction
Jenkins tutorial
Enterprise Software Architecture styles
Design patterns for microservice architecture
[115]쿠팡 서비스 클라우드 마이그레이션 통해 배운것들

What's hot (20)

PPTX
3. 마이크로 서비스 아키텍쳐
PDF
Amazon EKS를 위한 AWS CDK와 CDK8s 활용법 - 염지원, 김광영 AWS 솔루션즈 아키텍트 :: AWS Summit Seou...
PPTX
Kubernetes 101
PDF
Spring Framework
PDF
AWS 클라우드 기반 확장성 높은 천만 사용자 웹 서비스 만들기 - 윤석찬
PDF
Anatomy of a Continuous Integration and Delivery (CICD) Pipeline
PDF
도커의 기초 - 김상필 솔루션즈 아키텍트 :: AWS Container Day
PDF
AWS Control Tower를 통한 클라우드 보안 및 거버넌스 설계 - 김학민 :: AWS 클라우드 마이그레이션 온라인
PPTX
Docker Ecosystem on Azure
PDF
CodeBuild CodePipeline CodeDeploy CodeCommit in AWS | Edureka
PPTX
컨테이너 기술 ( Container Technology ) 발표 자료 다운로드
PDF
Getting Started with Infrastructure as Code
PDF
마이크로서비스 기반 클라우드 아키텍처 구성 모범 사례 - 윤석찬 (AWS 테크에반젤리스트)
PDF
CloudWatch 성능 모니터링과 신속한 대응을 위한 노하우 - 박선용 솔루션즈 아키텍트:: AWS Cloud Track 3 Gaming
PDF
Microservices
PDF
[AWS Migration Workshop] 데이터베이스를 AWS로 손쉽게 마이그레이션 하기
PDF
카카오 광고 플랫폼 MSA 적용 사례 및 API Gateway와 인증 구현에 대한 소개
ODP
¿Qué es docker?
PPTX
Microservices Architecture & Testing Strategies
3. 마이크로 서비스 아키텍쳐
Amazon EKS를 위한 AWS CDK와 CDK8s 활용법 - 염지원, 김광영 AWS 솔루션즈 아키텍트 :: AWS Summit Seou...
Kubernetes 101
Spring Framework
AWS 클라우드 기반 확장성 높은 천만 사용자 웹 서비스 만들기 - 윤석찬
Anatomy of a Continuous Integration and Delivery (CICD) Pipeline
도커의 기초 - 김상필 솔루션즈 아키텍트 :: AWS Container Day
AWS Control Tower를 통한 클라우드 보안 및 거버넌스 설계 - 김학민 :: AWS 클라우드 마이그레이션 온라인
Docker Ecosystem on Azure
CodeBuild CodePipeline CodeDeploy CodeCommit in AWS | Edureka
컨테이너 기술 ( Container Technology ) 발표 자료 다운로드
Getting Started with Infrastructure as Code
마이크로서비스 기반 클라우드 아키텍처 구성 모범 사례 - 윤석찬 (AWS 테크에반젤리스트)
CloudWatch 성능 모니터링과 신속한 대응을 위한 노하우 - 박선용 솔루션즈 아키텍트:: AWS Cloud Track 3 Gaming
Microservices
[AWS Migration Workshop] 데이터베이스를 AWS로 손쉽게 마이그레이션 하기
카카오 광고 플랫폼 MSA 적용 사례 및 API Gateway와 인증 구현에 대한 소개
¿Qué es docker?
Microservices Architecture & Testing Strategies
Ad

Similar to Introduction to Axon FrameWork with CQRS pattern (20)

PPTX
Our way to microservices
DOCX
Sujan_Reddy.docx
PPTX
Netflix Cloud Architecture and Open Source
PPTX
Intro to Azure Container App Presentation
PPSX
Microservices Architecture - Cloud Native Apps
PDF
Amazon EKS 그리고 Service Mesh (김세호 솔루션즈 아키텍트, AWS) :: Gaming on AWS 2018
PDF
10 - Architetture Software - More architectural styles
PPTX
Azure Day 2.pptx
PPSX
Elastic-Engineering
PPTX
CQRS Design Pattern Presentation (Java).pptx
PPTX
Cqrs and Event Sourcing Intro For Developers
PDF
Azure Developer Roadmap By Scholarhat PDF
PDF
Azure DevOps Engineer Roadmap PDF By Scholarhat.pdf
PDF
PowerShell DSC - State of the Art & Community by Gael Colas
DOCX
Resume_Ashok-updated (1) (1)
PPTX
[2020 Ignite Seoul]Azure에서 사용할 수 있는 컨테이너/오케스트레이션 기술 살펴보기
PPTX
Anekacloudplatform11111111111111111.pptx
PDF
DevOps on AWS
PDF
Microsoft Azure essentials
PPTX
Azure diario de abordo
Our way to microservices
Sujan_Reddy.docx
Netflix Cloud Architecture and Open Source
Intro to Azure Container App Presentation
Microservices Architecture - Cloud Native Apps
Amazon EKS 그리고 Service Mesh (김세호 솔루션즈 아키텍트, AWS) :: Gaming on AWS 2018
10 - Architetture Software - More architectural styles
Azure Day 2.pptx
Elastic-Engineering
CQRS Design Pattern Presentation (Java).pptx
Cqrs and Event Sourcing Intro For Developers
Azure Developer Roadmap By Scholarhat PDF
Azure DevOps Engineer Roadmap PDF By Scholarhat.pdf
PowerShell DSC - State of the Art & Community by Gael Colas
Resume_Ashok-updated (1) (1)
[2020 Ignite Seoul]Azure에서 사용할 수 있는 컨테이너/오케스트레이션 기술 살펴보기
Anekacloudplatform11111111111111111.pptx
DevOps on AWS
Microsoft Azure essentials
Azure diario de abordo
Ad

More from Knoldus Inc. (20)

PPTX
Angular Hydration Presentation (FrontEnd)
PPTX
Optimizing Test Execution: Heuristic Algorithm for Self-Healing
PPTX
Self-Healing Test Automation Framework - Healenium
PPTX
Kanban Metrics Presentation (Project Management)
PPTX
Java 17 features and implementation.pptx
PPTX
Chaos Mesh Introducing Chaos in Kubernetes
PPTX
GraalVM - A Step Ahead of JVM Presentation
PPTX
Nomad by HashiCorp Presentation (DevOps)
PPTX
Nomad by HashiCorp Presentation (DevOps)
PPTX
DAPR - Distributed Application Runtime Presentation
PPTX
Introduction to Azure Virtual WAN Presentation
PPTX
Introduction to Argo Rollouts Presentation
PPTX
Insights Unveiled Test Reporting and Observability Excellence
PPTX
Introduction to Splunk Presentation (DevOps)
PPTX
Code Camp - Data Profiling and Quality Analysis Framework
PPTX
AWS: Messaging Services in AWS Presentation
PPTX
Amazon Cognito: A Primer on Authentication and Authorization
PPTX
ZIO Http A Functional Approach to Scalable and Type-Safe Web Development
PPTX
Managing State & HTTP Requests In Ionic.
PPTX
Facilitation Skills - When to Use and Why.pptx
Angular Hydration Presentation (FrontEnd)
Optimizing Test Execution: Heuristic Algorithm for Self-Healing
Self-Healing Test Automation Framework - Healenium
Kanban Metrics Presentation (Project Management)
Java 17 features and implementation.pptx
Chaos Mesh Introducing Chaos in Kubernetes
GraalVM - A Step Ahead of JVM Presentation
Nomad by HashiCorp Presentation (DevOps)
Nomad by HashiCorp Presentation (DevOps)
DAPR - Distributed Application Runtime Presentation
Introduction to Azure Virtual WAN Presentation
Introduction to Argo Rollouts Presentation
Insights Unveiled Test Reporting and Observability Excellence
Introduction to Splunk Presentation (DevOps)
Code Camp - Data Profiling and Quality Analysis Framework
AWS: Messaging Services in AWS Presentation
Amazon Cognito: A Primer on Authentication and Authorization
ZIO Http A Functional Approach to Scalable and Type-Safe Web Development
Managing State & HTTP Requests In Ionic.
Facilitation Skills - When to Use and Why.pptx

Recently uploaded (20)

PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Encapsulation theory and applications.pdf
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
Approach and Philosophy of On baking technology
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
cuic standard and advanced reporting.pdf
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
PDF
Electronic commerce courselecture one. Pdf
PDF
Unlocking AI with Model Context Protocol (MCP)
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PDF
A comparative analysis of optical character recognition models for extracting...
PDF
Chapter 3 Spatial Domain Image Processing.pdf
20250228 LYD VKU AI Blended-Learning.pptx
Encapsulation theory and applications.pdf
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Approach and Philosophy of On baking technology
The AUB Centre for AI in Media Proposal.docx
Mobile App Security Testing_ A Comprehensive Guide.pdf
cuic standard and advanced reporting.pdf
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Advanced methodologies resolving dimensionality complications for autism neur...
The Rise and Fall of 3GPP – Time for a Sabbatical?
gpt5_lecture_notes_comprehensive_20250812015547.pdf
Electronic commerce courselecture one. Pdf
Unlocking AI with Model Context Protocol (MCP)
Digital-Transformation-Roadmap-for-Companies.pptx
Diabetes mellitus diagnosis method based random forest with bat algorithm
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Assigned Numbers - 2025 - Bluetooth® Document
A comparative analysis of optical character recognition models for extracting...
Chapter 3 Spatial Domain Image Processing.pdf

Introduction to Axon FrameWork with CQRS pattern

  • 1. Presented By: Anshuman Shukla Introduction to Axon Framework with CQRS Pattern.
  • 2. Lack of etiquette and manners is a huge turn off. KnolX Etiquettes Punctuality Join the session 5 minutes prior to the session start time. We start on time and conclude on time! Feedback Make sure to submit a constructive feedback for all sessions as it is very helpful for the presenter. Silent Mode Keep your mobile devices in silent mode, feel free to move out of session in case you need to attend an urgent call. Avoid Disturbance Avoid unwanted chit chat during the session.
  • 3. Our Agenda 01 What is Axon Framework? 02 Axon Components 03 Axon Components Sub Parts 04 05 06 07 Standard Structure. 08 CQRS Architecture CQRS Command API Flow DEMO What is CQRS?
  • 4. What is Axon Framework? Axon Framework is an Open-Source Framework for event driven microservices and domain-driven design.It is a Java Framework that gives developers access to repositories,implementations of crucial components including aggregates,command, and event buses,and implementations of the CQRS architectural pattern.Architectural principles like Domain Driven Design and CQRS are the foundation of the Framework.With this framework we can build incredibly Scalable and Flexible applications.
  • 5. Axon Components 1.Axon Framework,Domain Model- A core framework that helps you build a domain centered on DDD,Event Sourcing and CQRS patterns. 2.Axon Framework,Dispatch Model- Logical infrastructure to support the domain model,that is, the routing and coordination of commands and queries that deal with the state of the Domain Model. 3.Axon Server- Physical Infrastructure to support the Domain/Dispatch Model.
  • 6. Axon Components Domain Model Components Dispatch Model Axon Server Aggregates Commands/Command Handlers Events/Event Handlers Query Handlers Sagas Command Bus Query Bus Event Bus Sagas An Event Store based on H2(used for storage of configuration) and a file system(used for storage of event date) A Messaging Router for the Events flowing through the system.
  • 7. What is CQRS? CQRS stands for Command and Query Responsibility Segregation.The Command/Query Responsibility Segregation principle is essentially an application development pattern that exhorts the segregation between operations that update state and operations that query state. Essentially, CQRS advocates usage of Commands to update the state of various application objects(Aggregate within a Bounded Context) Queries to query the state of the various application objects(Aggregate within a Bounded Context)
  • 9. Command API Command Command Handler Events Handler Query API Query Query Handler Events Handler Event Store Write DB Read DB POST PUT DELETE PATCH GET CQRS Architecture Events
  • 10. Controller Command Gateway Aggregate Event Store Event Handler Repository /product/add POST send handles publishes listens CreateProductCommand CreateProductCommand ProductCreatedEvent DB CQRS Command API Flow
  • 11. Demo
  • 12. Thank You ! Get in touch with us: Lorem Studio, Lord Building D4456, LA, USA