To SOA or to DDD?
Again, today, I had to select between the two, for a new project I’m designing.
SOA is inherently built on a stateless model object concept, allowing it to be super loosely coupled. Objects traveling between layers as serialized data, regenerating themselves on each de-serialization. This is loosely 🙂 related to the Anemic domain model
DDD keeps the domain objects and features in its center and can’t allow that unorthodox not-object-oriented approach. It also talks about an iterative process of refining the model, reminding me some scrum concepts
In this article, Adam Bien explains DDD for Java nice and simple, while keeping a reference to the SOA model. Recommended 🙂