In the field of programming a data transfer object (DTO[1][2]) is an object that carries data between processes. The motivation for its use is that communication between processes is usually done resorting to remote interfaces (e.g., web services), where each call is an expensive operation.[2] Because the majority of the cost of each call is related to the round-trip time between the client and the server, one way of reducing the number of calls is to use an object (the DTO) that aggregates the data that would have been transferred by the several calls, but that is served by one call only.[2]
The difference between data transfer objects and business objects or data access objects is that a DTO does not have any behavior except for storage, retrieval, serialization and deserialization of its own data (mutators, accessors, serializers and parsers). In other words,
DTOs are simple objects that should not contain any business logic but may contain serialization and deserialization mechanisms for transferring data over the wire.[1]
This pattern is often incorrectly used outside of remote interfaces. This has triggered a response from its author[3] where he reiterates that the whole purpose of DTOs is to shift data in expensive remote calls.
^ abMSDN (2010). Data Transfer Object. Microsoft MSDN Library. Retrieved from https://msdn.microsoft.com/en-us/library/ms978717.aspx.
^ abcFowler, Martin (2010). Data Transfer Object. Patterns of Enterprise Application Architecture. Retrieved from http://martinfowler.com/eaaCatalog/dataTransferObject.html.
^LocalDTO. Retrieved from http://martinfowler.com/bliki/LocalDTO.html.
and 22 Related for: Data transfer object information
In the field of programming a datatransferobject (DTO) is an object that carries data between processes. The motivation for its use is that communication...
testability through simplification. Plain old data structure Plain old Java objectDatatransferobject See, for example, this docs.microsoft.com article:...
of the object dictionary variable data contains the data to be uploaded in the case of an expedited transfer (e is set), or the size of the data to be...
A business object is an entity within a multi-tiered software application that works in conjunction with the data access and business logic layers to transport...
computer science and object-oriented programming, a passive data structure (PDS), also termed a plain old data structure or plain old data (POD), is a record...
process of translating a data structure or object state into a format that can be stored (e.g. files in secondary storage devices, data buffers in primary storage...
JSON (JavaScript Object Notation, pronounced /ˈdʒeɪsən/ or /ˈdʒeɪˌsɒn/) is an open standard file format and data interchange format that uses human-readable...
fields. Adding the `data` keyword causes the generation of implementations of `equals` and `hashCode` and the like. Datatransferobject Domain-driven design...
autonomous province in Serbia (ISO 3166-2 code RS-VO) Value Object or similarly datatransferobject, in computing Vanadium(II) oxide, an inorganic compound...
Transfers a file from the originator of the request to the recipient; a CONNECTION object containing no target is sent, then PUT is used to transfer the...
to the persistent data store. The layer is composed of one or more mappers (or Data Access Objects), performing the datatransfer. Mapper implementations...
connections secured by SSL, SSH, or Kerberos). OBject EXchange is a protocol for binary object wireless transfer via the Bluetooth standard. Bluetooth was...
the transmission of dataobjects that contain name–value pairs, but in a more concise manner. This increases processing and transfer speeds at the cost...
Look up DTO in Wiktionary, the free dictionary. DTO may refer to: Datatransferobject Detailed Test Objective, an experiment to be performed by NASA in...
[BindNever] attribute. Data transferobject (DTO) "CWE-915: Improperly Controlled Modification of Dynamically-Determined Object Attributes". Common Weakness...
transfer learning to real data. Efforts have been made to enable more data science experiments via the construction of general-purpose synthetic data...
data rate (SDR) SDRAM, the DDR SDRAM interface makes higher transfer rates possible through more strict control of the timing of the electrical data and...
keywords. Structural metadata Metadata about containers of data and indicates how compound objects are put together, for example, how pages are ordered to...
The Common Object Request Broker Architecture (CORBA) is a standard defined by the Object Management Group (OMG) designed to facilitate the communication...