Have a look at examples of double dispatch in the context of Domain-driven Design.
I'm a Java software developer with passion to create great products. Domain-driven design & Test-driven development are some of my favorite tools. My code is clean and easy to modify, thanks to the modular, loosely coupled design achieved by continuous TDD iterations backed by a deep understanding of business requirements.
Here's what I've written (so far):
Baeldung on Java
- Spring Data (3)
- Persistence (2)
- Testing (1)
- Spring Boot (1)
- NoSQL (1)
Learn how to persist DDD aggregates in Spring.
Learn about Domain Events in Spring Data
Learn how to use Flapdoodle’s embedded MongoDB solution together with Spring Boot to run MongoDB integration tests smoothly.