Data transfer object

Data transfer object

Data transfer object (DTO),[1][2] is a design pattern used to transfer data between software application subsystems. DTOs are often used in conjunction with data access objects to retrieve data from a database.[1][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 and retrieval of its own data (accessors and mutators).[citation needed]

In a traditional EJB (Enterprise JavaBeans) architecture, DTOs serve dual purposes: first, they work around the problem that entity beans pre-ejb 3.0 are not serializable; second, they implicitly define an assembly phase where all data to be used by the view are fetched and marshalled into the DTOs before returning control to the presentation tier.[citation needed]; a third reason of using DTOs could be that certain layers of the application should not be able to access the underlying data access objects, and hence change the data.

See also

  • Value object

References

  1. ^ a b MSDN (2010). Data Transfer Object. Microsoft M MSDNSDN Library. Retrieved from http://msdn.microsoft.com/en-us/library/ms978717.aspx.
  2. ^ a b Fowler, Martin (2010). Data Transfer Object. Patterns of Enterprise Application Architecture. Retrieved from http://martinfowler.com/eaaCatalog/dataTransferObject.html.

External links



Wikimedia Foundation. 2010.

Игры ⚽ Нужно сделать НИР?

Look at other dictionaries:

  • Data Transfer Object — Data Transfer Objects (DTO), formerly known as Value Objects or VO, are a design pattern used to transfer data between software application subsystems. DTOs are often used in conjunction with Data Access Objects to retrieve data from a… …   Wikipedia

  • Data Transfer Object — Das Transferobjekt oder Datentransferobjekt (Abk.: DTO) ist ein Entwurfsmuster aus dem Bereich der Softwareentwicklung. Es bündelt mehrere Daten in einem Objekt, sodass sie durch einen einzigen Programmaufruf übertragen werden können.… …   Deutsch Wikipedia

  • Data access object — This article is about the data access object design pattern in object oriented software design. For the Microsoft library of the same name, see Data Access Objects. In computer software, a data access object (DAO) is an object that provides an… …   Wikipedia

  • Data Access Object — This article is about the Data Access Object design pattern in object oriented software design, not about the Data Access Objects library from Microsoft. In computer software, a Data Access Object (DAO) is an object that provides an abstract… …   Wikipedia

  • Data Access Object — В программном обеспечении data access object (DAO)  это объект, который предоставляет абстрактный интерфейс к какому либо типу базы данных или механизму хранения. Определённые возможности предоставляются независимо от того, какой механизм… …   Википедия

  • Data, context and interaction — (DCI) is a paradigm used in computer software to program systems of communicating objects. Its goals are: To improve the readability of object oriented code by giving system behavior first class status; To cleanly separate code for rapidly… …   Wikipedia

  • transfer — {{Roman}}I.{{/Roman}} noun 1 change of place/situation ADJECTIVE ▪ massive ▪ The war caused a massive transfer of population. ▪ efficient, smooth, successful ▪ the smooth …   Collocations dictionary

  • Object Linking and Embedding — (OLE) is a technology developed by Microsoft that allows embedding and linking to documents and other objects. For developers, it brought OLE Control eXtension (OCX), a way to develop and use custom user interface elements. On a technical level,… …   Wikipedia

  • Data Transformation Services — Data Transformation Services, or DTS, is a set of objects and utilities to allow the automation of extract, transform and load operations to or from a database. The objects are DTS packages and their components, and the utilities are called DTS… …   Wikipedia

  • Object hyperlinking — is a neologism that usually refers to extending the Internet to objects and locations in the real world. The current Internet does not extend beyond the electronic world. Object hyperlinking aims to extend the Internet to the real world by… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”