Hello,
I wasnt sure if I should post this in the newbie section or here.. Anyway I am trying to find the right way do desgin a program. I have multiple data sources from which I will create my objects. Would it be correct to create the objects as I want (merging multiple sources) in the data layer and return a complete object to the service layer (even if it requires a bit of business logic) or should the data layer be completly "dumb" and return multiple sets of data to the service layer where I will then create my objects?
Thanks.
I wasnt sure if I should post this in the newbie section or here.. Anyway I am trying to find the right way do desgin a program. I have multiple data sources from which I will create my objects. Would it be correct to create the objects as I want (merging multiple sources) in the data layer and return a complete object to the service layer (even if it requires a bit of business logic) or should the data layer be completly "dumb" and return multiple sets of data to the service layer where I will then create my objects?
Thanks.