3pigs-ddd
3pigs-ddd copied to clipboard
Introduce "Red Hood" module with more pragmatic approach
- Instead of multiple modules - just a single module and a better encapsulation with more package-private access
- DB mappings directly in models
- Tests without Spring Context - unit tests with unit being a whole package (tested through public APIs - command & query)
Thanks to the second example, monolith
module took a little more responsibility - configures production DB and event processing (should take care of all infra things like that).