The majority of enterprise applications using Spring boot and Hibernate are organised to layers like service, repository, controller, etc. What if we could find a better way? We will take a look at a simple Spring boot application, where we will demonstrate what DDD is and how to use it with Hexagonal architecture.