Persisting DDD Aggregates 1. Overview In this tutorial, we’ll explore the possibilities of persisting DDD Aggregates using different technologies. 2. Introduction to Aggregates An aggregate is a group of business objects which always need to be consistent. Therefore, we save and update aggregates as a whole inside a transaction. Aggregate… Continue Reading spring-persisting-ddd-aggregates

A Guide to Spring AbstractRoutingDatasource Spring Persistence 1. Overview In this quick article, we’ll look at Spring’s AbstractRoutingDatasource as a way of dynamically determining the actual DataSource based on the current context. As a result, we’ll see that we can keep DataSource lookup logic out of the data access code.… Continue Reading spring-abstract-routing-data-source

Spring Data MongoDB Tutorial This is a guide to Spring Data MongoDB – starting with a quick intro on how to hit the ground running in a Spring project, to more complex and useful usecases and features of the library. Spring Data MongoDB Basics + [.thrv-advanced-inline-text .tve_editable .tcb-styled-list-icon-text .tcb-no-delete .tcb-no-save]#… Continue Reading spring-data-mongodb-guide