
Originally Posted by
cherreman
On a recent project, we started out using DTO and Assembler to map between the domain and the DTO layer. The overall impression was that we had too much work maintaining both sides and the mapping layer.
I remember we had a brief look at Dozer but decided not to go for it (I don't remember the exact reason).
Right now we just map directly onto the domain model. We sometimes have to add getters and setters were we would normally not have them. I understand this takes away some of the safety of the domain model in some cases, but the net result is that you save tons of time.
My 2 cents,
Christophe