Skip to main content
Question Protected by gnat
Tweeted twitter.com/StackSoftEng/status/1088043803066404866

what What is the use of DTO instead of Entity?

I am working on RCP application, I amI'm new to this application.

Spring beans are used to write business logic to save/fetch entities.

But, instead of sending entities directly to client we are converting to DTOswe are converting to DTOs and populating client.

  While saving, we again are converting DTO to entity and saving.

What's the benefit of these conversions?

  Can someone explain?

what is the use of DTO instead of Entity

I am working on RCP application, I am new to this application.

Spring beans are used to write business logic to save/fetch entities.

But, instead of sending entities directly to client we are converting to DTOs and populating client.

  While saving, we again are converting DTO to entity and saving.

What's the benefit of these conversions?

  Can someone explain?

What is the use of DTO instead of Entity?

I am working on RCP application, I'm new to this application.

Spring beans are used to write business logic to save/fetch entities.

But, instead of sending entities directly to client we are converting to DTOs and populating client. While saving, we again are converting DTO to entity and saving.

What's the benefit of these conversions? Can someone explain?

Fixed grammar
Source Link
BobDalgleish
  • 4.7k
  • 5
  • 20
  • 23

I am working on RCP application, I am new to this application,.

Spring beans are used to write business logic to save/fetch entities.

But, instead of sending entities directly to client we are converting to DTOs and populating clinetclient.

While saving, we again are converting DTO to entity and saving.

What's the benefit of these conversions?

Can someone explain?

I am working on RCP application, I am new to this application,

Spring beans are used to write business logic to save/fetch entities.

But, instead of sending entities directly to client we are converting to DTOs and populating clinet.

While saving again converting DTO to entity and saving.

What's the benefit of these conversions?

Can someone explain?

I am working on RCP application, I am new to this application.

Spring beans are used to write business logic to save/fetch entities.

But, instead of sending entities directly to client we are converting to DTOs and populating client.

While saving, we again are converting DTO to entity and saving.

What's the benefit of these conversions?

Can someone explain?

Source Link

what is the use of DTO instead of Entity

I am working on RCP application, I am new to this application,

Spring beans are used to write business logic to save/fetch entities.

But, instead of sending entities directly to client we are converting to DTOs and populating clinet.

While saving again converting DTO to entity and saving.

What's the benefit of these conversions?

Can someone explain?