DTOs are an object that carries data between processes in order to reduce the number of method calls. When you're working with a remote interface, each call to it is expensive. The solution is to create a Data Transfer Object that can hold all the data for the call. We recently introduced DTO support in the JPA Buddy plugin.

10m read timeFrom dzone.com
Post cover image
Table of contents
What Is DTO?Where Do We Need DTOs?Entities vs. DTOs on the Business LayerHow to Map an Entity to Dto?Conclusion
2 Comments

Sort: