Passing the objects between layers
I have a XML document stored as a text in the database, I need to pick up this XML document and construct a Business object out of that.
My doubt here is, which is the best way to communicate between layers,
1. Pass the XML document from Data access layer to Business Service layer 2. Put the XML document in a data table or any other object and then pass the object to Business service layer?
3. Construct the Business object (final result) in the Data access layer it self and pass it to the service layer. (This will be violating the architecture.)
We are following the MVC architecture.
Our's is a web application. Please suggest me or point me to the materials, which can give me an idea about this.
I tried googling, I got some information but I couldn't take a decision based on them. Please help.
Thanks in advance.
Last edited by npswarna_13; 06-07-2006 at 04:09 AM.
By geteas80 in forum Java
Last Post: 06-03-2006, 05:56 PM
By Glenn Block in forum .NET
Last Post: 01-04-2003, 06:52 PM
By Sunil Menon in forum .NET
Last Post: 04-01-2002, 05:47 AM
By email@example.com in forum .NET
Last Post: 03-13-2002, 03:15 AM
By Richard K Bethell in forum .NET
Last Post: 10-26-2000, 04:00 PM
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center