THE MISSING CHAPTER
Let’s imagine that we’re building an online book store, and one of the use cases we’ve been asked to implement is about customers being able to view the status of their orders.
PACKAGE BY LAYER
The first, and perhaps simplest, design approach is the traditional horizontal layered architecture, where we separate our code based on what it does from a technical perspective.
OrdersController
OrdersService
OrdersServiceImpl