• Post Reply Bookmark Topic Watch Topic
  • New Topic

VO and DTO  RSS feed

 
sivajothi
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I understand that the terms value object and data transfer object are used interchangably.

IS there any difference between this two?

Thanks and regards

Sivajothi
 
Chris Mathews
Ranch Hand
Posts: 2712
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
See this post in the J2EE/EJB Forum where I briefly discuss the reason for all the confusion around the terms Value Object and Data Transfer Object.
 
Ray Ye
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Value Object pattern in Core J2EE patterns was renamed as Transfer Object to be consistent with Martin Fowler's Patterns of Enterprise Application Architecture, it is used as data intermeiate between communication of layers. Whereas in PEAA, value object pattern has other meanings, described as "A small simple object, like money or a data range, whose equality isn't based on identity"

Ray
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!