As a newbie developer I’ve been thinking a lot lately about where to put responsibilities and behaviour in systems I develop. It seems quite common for most developers to default to the DTO pattern and just dumb objects. Fine grained value objects might not be real DTOs, but it is in the same tradition of not having behaviour in the objects. I see some proponents mean it’s bad OOD, and it probably is. I’m not just sure what will work best for me yet. 😉
I was reading this post on Jon Tirsens blog on the usage of DTOs when I came across Domain Driven Design by Eric Evans. I’ll have to pick it up some day. I just have to finish up reading for JCP and J2EE without EJB first. 😉