Awesome Spring Boot app with domain driven design(DDD).
How you can deliver your software.
e.g.: Rest Controllers, Raw Servlets, Swing Views.
Implementation example: PaymentController
Where your use cases are orchestrated and the transactional scopes are managed.
e.g.: Payment process.
Implementation example: PaymentProcessManager (Interface) / PaymentProcessManagerImpl (protected Impl)
Where your business rules are handled.
e.g.: Payment process: (request payment, authorize payment, confirm payment, cancel payment, etc).
Implementation example: Payment (AggregateRoot)
This layer acts as a supporting library for all the other layers.
e.g.: SQL Tables representation, SQL Repositories implementation, i18n, serialization, validators, etc.
Implementation example:
- Persistence package
- i18n package
- Serialization package
- Validation package