Home » Tag Archives: DDD

Tag Archives: DDD

Domain Modeling: Naive OO Hurts

software-development-2-logo

I’ve read a post recently on two ways to model data of business domain. My memory is telling me it was Ayende Rahien, but I can’t find it on his blog. One way is full-blown object-relational mapping. Entities reference each other directly, and the O/R mapper automatically loads data for you as you traverse the object graph. To obtain Product ...

Read More »

Modelling Is Everything

software-development-2-logo

I’m often asked, “What is the best way to learn about building high-performance systems”? There are many perfectly valid answers to this question but there is one thing that stands out for me above everything else, and that is modelling. Modelling what you need to implement is the most important and effective step in the process. I’d go further and ...

Read More »

On DTOs

java-interview-questions-answers

DTOs, or data-transfer objects, are commonly used. What is not s? commonly-known is that they originate from DDD (Domain-driven design). There it makes a lot of sense – domain objects have state, identity and business logic while DTOs have only state. But many projects today are using the anemic data model approach (my opinion) and still use DTOs. They are ...

Read More »

On domain-driven design, anemic domain models, code generation, dependency injection and more…

java-interview-questions-answers

Eric Evans has formulated what domain-driven design (DDD) is. Martin Fowler is a great supporter and advocate of DDD. These are remarkable names and it is almost certain they are supporting something worth. And I’m not here to argue with that. Maybe I’m trying to justify the way I’ve been writing software, or maybe I’m trying just to clear things ...

Read More »

Using the State pattern in a Domain Driven Design

java-interview-questions-answers

Domain driven design (DDD) is an approach to developing software where the complexity of the problem is addressed by connecting the implementation to an evolving model of the core business concepts. The term was coined by Eric Evans and there is a DDD dedicated site which promotes its use. According to their definition (Glossary of Domain-Driven Design Terms), DDD is ...

Read More »
Want to take your Java Skills to the next level?
Grab our programming books for FREE!
  • Save time by leveraging our field-tested solutions to common problems.
  • The books cover a wide range of topics, from JPA and JUnit, to JMeter and Android.
  • Each book comes as a standalone guide (with source code provided), so that you use it as reference.
Last Step ...

Where should we send the free eBooks?

Good Work!
To download the books, please verify your email address by following the instructions found on the email we just sent you.