27 Sept 2023
1h 16m

Spring Office Hours: Episode 53 - Structuring your Spring Boot Applications

Podcast cover

Spring Office Hours

In this episode of the Spring Office Hours podcast, the focus is on enhancing the testability and maintainability of Spring Boot applications. The discussion kicks off by comparing different organizational strategies, such as package-by-layer and package-by-feature, pointing out the pros and cons of each. Next, the hosts explore hexagonal architecture, emphasizing its fundamental principle of keeping internal business logic distinct from external concerns like I/O. The episode wraps up with a real-world example from the open-source project Ensembler, showcasing how adopting hexagonal architecture can boost testability and simplify refactoring. The speakers underline that there's no universally correct structure; instead, it's crucial to choose one that aligns with your testing strategy.

Outlines

Sign in to continue reading, translating and more.

Open full episode in Podwise