Why are the Business Entities duplicated

Topics: CAB & Smart Client Software Factory
Mar 8, 2006 at 7:31 PM
originally posted by: rainbird

I've noticed in the Reference Implementation that the Business Entities such as Address or Appraisal are being duplicated in the Web Service. Both entities are in the AppraisalServiceAgent project and the AppraisalService web service project.

Why would you not want to use a single source for your business entities such as a class library? What was the thought? I see this as a big problem. Am I missing something?
Mar 8, 2006 at 11:52 PM
originally posted by: RolandLi

Seperate the presenter from the implement of Web Service , I think.
That's why we use the WebServiceAgent not directly the WebServiceProxy.
Besides that, your business Entity may not exactly be the same with the Object return by Web Service.
For example, maybe one of your business Entity is created from several WebServices 's return value.

It's just my opinoin , may be wrong.