On 2/23/06, Simon Chappell <[EMAIL PROTECTED]> wrote: > I'm sure someone can give you a much more Comp.Sci. answer, but here's > my "in the trenches" answer. > > A business object is any object that you use to represent a business > concept. Classic examples would be customer, address and order. > > A data transfer object is anything that you use to send data from > either one part of program to another part or one program to another. > The Struts Form objects are classic data transfer objects. Service > requests are also usually data transfer objects.
True, but more typical a DTO is used to decouple layers or application parts. Using DTOs in interfaces make them stablier, more immune to changes in the implementation or client. Regards Leon > > Note: Data transfer objects can sometimes carry business objects, but > I've never seen a data transfer object inside a business object. > > Hope this helps. > > Simon > > > On 2/23/06, Shasirekha Engala <[EMAIL PROTECTED]> wrote: > > Hi > > > > What is the difference between a BusinessObject and DataTransferObject. > > Can the DTO be serialized. > > > > > > Thanks and Regards > > Shasi > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > -- > www.simonpeter.org > uab.blogspot.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]