r/SpringBoot • • Mar 19 '26

How-To/Tutorial Hexagonal Architecture in Spring Boot — Ports & Adapters done properly [video + free book contest]

https://youtu.be/4KixejKGkdA
15 Upvotes

6 comments sorted by

View all comments

Show parent comment

1

u/No_Telephone_5640 Mar 22 '26

Good question — I don’t think there’s a single “best” architecture. It depends on the project, team, and stage.

I usually start simple and evolve based on real needs. As complexity grows, I’ve often seen more value in splitting services rather than introducing heavier patterns upfront.

I’ve also seen hexagonal and BFF used too early in simple services, where they ended up adding little value.

On the testing point, fast tests don’t require a specific architecture. With proper scoping and context management, you can get fast feedback without extra layers.

For me, it’s about choosing what fits the context