SlideShare a Scribd company logo
3
Most read
9
Most read
14
Most read
Hexagonal architecture
with Spring Boot
Mikalai Alimenkou
@xpinjection
http://xpinjection.com
Hexagonal architecture with Spring Boot
Hexagonal architecture with Spring Boot
Disclaimer
This talk is based on
personal experience
Domain Driven Design
Expectations
Reality
Everything is simple!
Hexagonal architecture with Spring Boot
Layered architecture for kids
More serious view
Help Dasha to find business logic
Everything should be Use Case driven
Alternative world
Ports and adapters thinking
Hexagonal architecture with Spring Boot
Fresh architectural paradigms
Spring Boot as game changer
Each service has similar structure
SERVICE
DB
QUEUE
UI
API
EXTERNAL
SERVICES
API CONTRACTS
Spring MVC
Spring MVC
Spring Data
Spring
Messaging
RestTemplate
Feign
Spring Cloud
Contracts
You could work on business logic
Hexagonal architecture with Spring Boot
There are still some blockers
#1. Transactions
#2. Validation
#3. Thick client
#4. DB tuning
#5. Thinking model
Summary
• Change your point of view from layered approach
• Start using ports and adapters approach
• Make business logic use case driven
• Learn how to use existing Spring Boot modules
• Adopt Domain Driven Design ideas
• Be happy unicorn in the rainbow world ;)
Hexagonal architecture with Spring Boot
@xpinjection
http://xpinjection.com
mikalai.alimenkou@xpinjection.com

More Related Content

What's hot (20)

PPTX
Spring Framework Petclinic sample application
Antoine Rey
 
PDF
Clean pragmatic architecture @ devflix
Victor Rentea
 
PPSX
Event Sourcing & CQRS, Kafka, Rabbit MQ
Araf Karsh Hamid
 
PPTX
Angular 2.0 forms
Eyal Vardi
 
PDF
Hexagonal architecture - message-oriented software design
Matthias Noback
 
PDF
Design patterns for microservice architecture
The Software House
 
PPTX
Clean architecture
.NET Crowd
 
PPTX
Domain Driven Design 101
Richard Dingwall
 
PDF
Introduction to Kong API Gateway
Yohann Ciurlik
 
PDF
Spring Boot
Jaran Flaath
 
PDF
Clean Architecture
Badoo
 
PDF
Microservices with Java, Spring Boot and Spring Cloud
Eberhard Wolff
 
PPTX
Springboot Microservices
NexThoughts Technologies
 
PDF
Clean architecture
Lieven Doclo
 
PDF
Kata: Hexagonal Architecture / Ports and Adapters
holsky
 
PPTX
React workshop
Imran Sayed
 
PDF
Hexagonal architecture
Nicolas Guignard
 
PDF
DDD Tactical Design with Clean Architecture - Ivan Paulovich
Ivan Paulovich
 
PDF
Action Jackson! Effective JSON processing in Spring Boot Applications
Joris Kuipers
 
PPTX
Spring Boot
Jiayun Zhou
 
Spring Framework Petclinic sample application
Antoine Rey
 
Clean pragmatic architecture @ devflix
Victor Rentea
 
Event Sourcing & CQRS, Kafka, Rabbit MQ
Araf Karsh Hamid
 
Angular 2.0 forms
Eyal Vardi
 
Hexagonal architecture - message-oriented software design
Matthias Noback
 
Design patterns for microservice architecture
The Software House
 
Clean architecture
.NET Crowd
 
Domain Driven Design 101
Richard Dingwall
 
Introduction to Kong API Gateway
Yohann Ciurlik
 
Spring Boot
Jaran Flaath
 
Clean Architecture
Badoo
 
Microservices with Java, Spring Boot and Spring Cloud
Eberhard Wolff
 
Springboot Microservices
NexThoughts Technologies
 
Clean architecture
Lieven Doclo
 
Kata: Hexagonal Architecture / Ports and Adapters
holsky
 
React workshop
Imran Sayed
 
Hexagonal architecture
Nicolas Guignard
 
DDD Tactical Design with Clean Architecture - Ivan Paulovich
Ivan Paulovich
 
Action Jackson! Effective JSON processing in Spring Boot Applications
Joris Kuipers
 
Spring Boot
Jiayun Zhou
 

Similar to Hexagonal architecture with Spring Boot (20)

PPTX
Hexagonal architecture with Spring Boot [EPAM Java online conference]
Mikalai Alimenkou
 
PPTX
SPFx- A modern development model for SharePoint
Kirti Prajapati
 
PDF
Java Design Patterns Tutorial | Edureka
Edureka!
 
PDF
Content sharing with Umbraco (codegarden usa 2008)
Douglas Robar
 
PPTX
Introduction to MVC Web Framework with CodeIgniter
Pongsakorn U-chupala
 
PDF
resume
Brent Ransom
 
PPTX
Intro to Salesforce Lightning Web Components (LWC)
Roy Gilad
 
PDF
Agile Architecture in a Modern Cloud-Native Ecosystem
Cloud Study Network
 
PPTX
Agile architectures in a modern cloud-native ecosystem
Turja Narayan Chaudhuri
 
PPTX
CQRS recipes or how to cook your architecture
Thomas Jaskula
 
PDF
Elements of DDD with ASP.NET MVC & Entity Framework Code First
Enea Gabriel
 
PPTX
SPS Monaco 2017 - The Lay of the Land of Client-Side Development circa 2017
Marc D Anderson
 
PDF
Architecting a Large Software Project - Lessons Learned
João Pedro Martins
 
PDF
Enterprise Integration Patterns Revisited (EIP) for the Era of Big Data, Inte...
Kai Wähner
 
PDF
ECampusConnect
Advait Patel
 
PPTX
Webinar: Spring Framework - Introduction to Spring WebMVC & Spring with BigData
Edureka!
 
PPTX
Noman Khan Internship Report 2.pptx
NomanKhan869872
 
PPTX
Implementing Vanilla Web Components
sonumanoj
 
PPTX
Why Cloud Management Makes $ense
RightScale
 
PDF
ICONUK 2014 - From Idea To App
René Winkelmeyer
 
Hexagonal architecture with Spring Boot [EPAM Java online conference]
Mikalai Alimenkou
 
SPFx- A modern development model for SharePoint
Kirti Prajapati
 
Java Design Patterns Tutorial | Edureka
Edureka!
 
Content sharing with Umbraco (codegarden usa 2008)
Douglas Robar
 
Introduction to MVC Web Framework with CodeIgniter
Pongsakorn U-chupala
 
resume
Brent Ransom
 
Intro to Salesforce Lightning Web Components (LWC)
Roy Gilad
 
Agile Architecture in a Modern Cloud-Native Ecosystem
Cloud Study Network
 
Agile architectures in a modern cloud-native ecosystem
Turja Narayan Chaudhuri
 
CQRS recipes or how to cook your architecture
Thomas Jaskula
 
Elements of DDD with ASP.NET MVC & Entity Framework Code First
Enea Gabriel
 
SPS Monaco 2017 - The Lay of the Land of Client-Side Development circa 2017
Marc D Anderson
 
Architecting a Large Software Project - Lessons Learned
João Pedro Martins
 
Enterprise Integration Patterns Revisited (EIP) for the Era of Big Data, Inte...
Kai Wähner
 
ECampusConnect
Advait Patel
 
Webinar: Spring Framework - Introduction to Spring WebMVC & Spring with BigData
Edureka!
 
Noman Khan Internship Report 2.pptx
NomanKhan869872
 
Implementing Vanilla Web Components
sonumanoj
 
Why Cloud Management Makes $ense
RightScale
 
ICONUK 2014 - From Idea To App
René Winkelmeyer
 
Ad

More from Mikalai Alimenkou (20)

PPTX
Rise and fall of Story Points. Capacity based planning from the trenches.
Mikalai Alimenkou
 
PPTX
Static analysis tools as the best friend of QA
Mikalai Alimenkou
 
PPTX
Modern CI/CD in the microservices world with Kubernetes
Mikalai Alimenkou
 
PPTX
Saga about distributed business transactions in microservices world
Mikalai Alimenkou
 
PPTX
Effectiveness tips from Kubernetes trenches by Captain Obvious
Mikalai Alimenkou
 
PPTX
Ride the database in JUnit tests with Database Rider
Mikalai Alimenkou
 
PPTX
Wastful waste or why everything is so slow in development
Mikalai Alimenkou
 
PPTX
Hexagonal architecture with Spring Boot
Mikalai Alimenkou
 
PPTX
Wastful waste or why everything is so slow in development
Mikalai Alimenkou
 
PPTX
DevOps checklist or how to understand where is your team in DevOps landscape ...
Mikalai Alimenkou
 
PPTX
DevOps checklist or how to understand where is your team in DevOps landscape
Mikalai Alimenkou
 
PDF
Практические трудности в разработке Медкарты для целой страны
Mikalai Alimenkou
 
PPTX
Bro, manage test data like a pro! [QA Fest 2018]
Mikalai Alimenkou
 
PPTX
Agile antipatterns: review after 10 years of practice
Mikalai Alimenkou
 
PPTX
Bro, manage test data like a pro!
Mikalai Alimenkou
 
PPTX
Бытовая классификация тестировщиков с точки зрения разработчика
Mikalai Alimenkou
 
PPTX
Code Review tool for personal effectiveness and waste analysis
Mikalai Alimenkou
 
PDF
Funny stories and anti-patterns from DevOps landscape
Mikalai Alimenkou
 
PPTX
Developer + tester = quality++
Mikalai Alimenkou
 
PPTX
Continuous improvements of developer efficiency with modern IDE
Mikalai Alimenkou
 
Rise and fall of Story Points. Capacity based planning from the trenches.
Mikalai Alimenkou
 
Static analysis tools as the best friend of QA
Mikalai Alimenkou
 
Modern CI/CD in the microservices world with Kubernetes
Mikalai Alimenkou
 
Saga about distributed business transactions in microservices world
Mikalai Alimenkou
 
Effectiveness tips from Kubernetes trenches by Captain Obvious
Mikalai Alimenkou
 
Ride the database in JUnit tests with Database Rider
Mikalai Alimenkou
 
Wastful waste or why everything is so slow in development
Mikalai Alimenkou
 
Hexagonal architecture with Spring Boot
Mikalai Alimenkou
 
Wastful waste or why everything is so slow in development
Mikalai Alimenkou
 
DevOps checklist or how to understand where is your team in DevOps landscape ...
Mikalai Alimenkou
 
DevOps checklist or how to understand where is your team in DevOps landscape
Mikalai Alimenkou
 
Практические трудности в разработке Медкарты для целой страны
Mikalai Alimenkou
 
Bro, manage test data like a pro! [QA Fest 2018]
Mikalai Alimenkou
 
Agile antipatterns: review after 10 years of practice
Mikalai Alimenkou
 
Bro, manage test data like a pro!
Mikalai Alimenkou
 
Бытовая классификация тестировщиков с точки зрения разработчика
Mikalai Alimenkou
 
Code Review tool for personal effectiveness and waste analysis
Mikalai Alimenkou
 
Funny stories and anti-patterns from DevOps landscape
Mikalai Alimenkou
 
Developer + tester = quality++
Mikalai Alimenkou
 
Continuous improvements of developer efficiency with modern IDE
Mikalai Alimenkou
 
Ad

Recently uploaded (20)

PDF
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
PDF
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
PDF
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
PDF
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
PDF
Log-Based Anomaly Detection: Enhancing System Reliability with Machine Learning
Mohammed BEKKOUCHE
 
PPTX
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
PDF
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
PDF
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
PPTX
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
PDF
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
PDF
The Builder’s Playbook - 2025 State of AI Report.pdf
jeroen339954
 
PDF
Blockchain Transactions Explained For Everyone
CIFDAQ
 
PPTX
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 
PDF
From Code to Challenge: Crafting Skill-Based Games That Engage and Reward
aiyshauae
 
PDF
HubSpot Main Hub: A Unified Growth Platform
Jaswinder Singh
 
PDF
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
PPTX
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
PPTX
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
PPTX
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
PPTX
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
Log-Based Anomaly Detection: Enhancing System Reliability with Machine Learning
Mohammed BEKKOUCHE
 
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
The Builder’s Playbook - 2025 State of AI Report.pdf
jeroen339954
 
Blockchain Transactions Explained For Everyone
CIFDAQ
 
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 
From Code to Challenge: Crafting Skill-Based Games That Engage and Reward
aiyshauae
 
HubSpot Main Hub: A Unified Growth Platform
Jaswinder Singh
 
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 

Hexagonal architecture with Spring Boot

Editor's Notes

  • #5: Это только мой опыт, но он достаточно широкий за счет работы во многих компаниях и общения с широкой аудиторией
  • #21: Департаменты развивают принципы локализации ответственности, что очень вредно.
  • #22: Уходите от смешных job titles. Стройте командную ответственность, потому что ответственность замыкает работу на определенных людей, так как спрашивать будут с них. В итоге развивается бюрократия и нет гибкости. Например, доступ к инфраструктуре или работа с зависимостями. И DevOps инженеры мало несут реальной ответственности. Командная работа приносит дополнительные Point of Views. T-shape инженеры важны, невозможно знать и уметь все. Инструменты важны и нужны, раньше их не было и жизнь была похожа на ад. Настроенные и прописанный инцидент менеджмент. Не занимайтесь тушением пожаров. Как дракончик с лейкой на картинке. У всех нет времени, поэтому нанимают новых людей. Они делают больше пожаров, что зацикливает процесс. Diversity на примере оптимистов и пессимистов, девушек, джунов и т.д.