Jeff Pham

Jeff Pham

  • NA
  • 52
  • 6.7k

(Business Manager and DTO) vs Business Objects

May 9 2012 1:59 PM

I understand that the Business Objects will contain some number of business logic and functionality in relation to the object. My question is:

Is it common to have, in place of business objects, plain DTO's with the business logic that would usually be kept in the Business Object, be moved to the Business Manager. For example, business validation of insertions would be handled by the Business Manager instead of the Business Object. In this way, you can keep using DTO's accross the layers. 

Furthermore, wouldn't this allow for a Service Oriented Architecture (such as WCF) so that you can throw the lighter-weight DTO's from the service layer over to the presentation layer. If this is the case, would it be advisable to translate the DTO into a business object or entity once the DTO is on the presentation layer?

Thank you so much for your time.

Sincerely,

Jeff