Have a look at examples of double dispatch in the context of Domain-driven Design.
Baeldung Author
Mike Wojtyna
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
- All
- Spring Data (3)
- Persistence (2)
- Testing (1)
- Spring Boot (1)
- NoSQL (1)
Persisting DDD Aggregates
Filed under Persistence, Spring Data
Learn how to persist DDD aggregates in Spring.
DDD Aggregates and @DomainEvents
Filed under Spring Data
Learn about Domain Events in Spring Data
Spring Boot Integration Testing with Embedded MongoDB
Filed under NoSQL, Spring Boot, Spring Data, Testing
Learn how to use Flapdoodle’s embedded MongoDB solution together with Spring Boot to run MongoDB integration tests smoothly.