Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Architecture ideas for n-tier app with diff backends
Hi Guys
I have a question regarding the seperation between the Business (BOL) and Data (DSL) layers and where what should go.
Let us assume that we have a Customer and CustomerOrders tables. Let the BOLCustomer and BOLCustomerOrders be the business objects and DSLCustomer and DSLCustomerOrders be the Data objects. Now if we wish to have a method in BOLCustomer to retrieve all the orders for a particular customer would the processing be in the BOL or the Data layer?
ie: Would the data layer simply contain Add, Delete and Update methods and the BOL would use these methods to build a list of CustomerOrders or would the list be built in the Data layer.
My impression is to use have only the atomic (?) -add, delete & update - methods in the DSL and build the list using these methods in the BOL.
Thank you for any advice.
Cheers
Charles
Received on Tue Jun 29 1999 - 04:03:21 CDT