The primary motivation for a DTO is to present an interface adapted to a different level (usually a presentation level). For example, on the data entry screen, some bits of data from the User object may be required in addition to some bits from the order, etc. In this case, the Domain for DTO should be executed at the level that invokes the presentation layer, i.e. Usually a “service” layer.
, Dozer, DTO.
- DTO, ( -) - , DTO ( ), ( -)