Overview
Explore a lightweight approach to structuring Spring Boot applications using component-based architecture in this conference talk from Spring I/O 2022. Learn why traditional layered architectures and vertical slices may fall short in organizing code for long-term maintainability and understanding. Discover how to build modular, composable components that function like Lego bricks, allowing developers to zoom in and out of the codebase at different levels of abstraction. Follow along with a practical field study on building a check engine component, and understand how Java, Spring Boot, and ArchUnit can be leveraged to create a more intuitive and maintainable codebase structure. Gain insights into enforcing architectural rules through tooling and learn why component-based architecture offers advantages for code organization and comprehension.
Syllabus
Introduction
About the speaker
Why organise code?
What's wrong with layers?
What's wrong with vertical slices?
Clean / Hexagonal architecture
Component-based architecture
Field Study - Building a check engine component
Why build components?
Thank you
Taught by
Spring I/O