views:

732

answers:

2

I'm new to DDD and trying hard to understand some of the concepts. How do you determine in your domain what objects are Entity objects and which ones are Value objects, and how exactly are they treated differently?

+1  A: 

As I see it domain objects basically represent nouns of your business domain and do have an identity, whereas value objects do not carry any special meaning to the business (think MonetaryAmount) and do not have an identity.

Anton Gogolev
I think that entity == "thingy that as a noun" is a really naive way to model your domain.Value objects can have a very special meaning to the business. MonetaryAmount could mean something very special if you do currency exchange and yet it would still be a value object.
Simon Laroche
+6  A: 

Found a great explanation here

Micah