The main use of the Transfer Object Pattern is to pass data with multiple attributes at once. It is made up of 3 parts:

  • Transfer Object — Simple Plain Old Java Object(POJO) which just has getters and setters
  • Business Object — Contains the logic that manipulates the transfer object.
  • Client — Passes or gets transfer object from the business object

#java #backend-development #design-patterns #programming #java-design-pattern #transfer object pattern

Transfer Object Pattern
1.10 GEEK