S
S
sys_user2018-08-26 13:52:59
IT terminology
sys_user, 2018-08-26 13:52:59

What is the difference between pojo and dto?

In Google, they describe it in an abstract way that it seems to be the same thing.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Gornostaev, 2018-08-26
@sergey-gornostaev

POJO is an abbreviation for Plain Old Java Object, which means "plain Java object". And DTO is an abbreviation for Data Transfer Object, that is, "data transfer object". POJO is a broad term, usually used to indicate that a class is not closely related to a particular framework. DTO is a narrower definition from the field of architecture, limiting the scope of the class. As a consequence, DTOs are a subspecies of POJOs.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question