This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Little Book of Impediments (e-book only) and have Tom Perry on-line!
See this thread for details.
Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

VO and DTO

 
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