Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

Using DTO (Data Transfer Object) Pattern in Spring Boot App

Pragya Keshap answered on February 10, 2023 Popularity 3/10 Helpfulness 1/10

Contents


More Related Answers

  • spring data jpa
  • spring boot dto example java
  • spring boot dto example
  • spring boot dto example
  • spring boot dto example
  • Spring data JPA features
  • dto and automapper
  • pass dto in post request body in spring bootg
  • mapping page entity to dto
  • spring boot dto example
  • spring boot dto example java
  • spring boot dto example
  • spring boot dto example
  • spring boot dto example java
  • spring boot dto example
  • upload file with created dto in spring boot rest
  • Using Spring Data JPA

  • Using DTO (Data Transfer Object) Pattern in Spring Boot App

    0

    DTOs or Data Transfer Objects are objects that carry data between processes in order to reduce the number of methods calls. The pattern was first introduced by Martin Fowler in his book EAA.

    Fowler explained that the pattern's main purpose is to reduce roundtrips to the server by batching up multiple parameters in a single call. This reduces the network overhead in such remote operations.

    Another benefit is the encapsulation of the serialization's logic (the mechanism that translates the object structure and data to a specific format that can be stored and transferred). It provides a single point of change in the serialization nuances. It also decouples the domain models from the presentation layer, allowing both to change independently.

    https://www.baeldung.com/java-dto-pattern

    Popularity 3/10 Helpfulness 1/10 Language java
    Source: Grepper
    Link to this answer
    Share Copy Link
    Contributed on Feb 10 2023
    Pragya Keshap
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.