Skip to content

guide dto

devonfw-core edited this page Nov 18, 2022 · 5 revisions
Table of Contents
Warning
Hey there! Seems like you are still using the documentation of our legacy Java repository. Since it won’t be maintained anymore, we recommend you to checkout the new Java page here.

DTO approach

As described in our modern structure guide, for application e.g. with microservices architecture where we build smaller applications compared to monoliths, we recommend keeping things as simple as possible. The same principle applies to transfer object. Instead of using different types of transfer objects for each entity such as ETO and CTO, we highly suggest using one data transfer object (DTO) named «BusinessObject»Dto.

Clone this wiki locally