Passing the objects between layers


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 1 of 1

Thread: Passing the objects between layers

  1. #1
    Join Date
    Feb 2005
    Posts
    19

    Passing the objects between layers

    Hi All,

    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.
    -Swarna
    Last edited by npswarna_13; 06-07-2006 at 04:09 AM.

Similar Threads

  1. Passing Objects As Arguments
    By geteas80 in forum Java
    Replies: 3
    Last Post: 06-03-2006, 05:56 PM
  2. Passing asp objects to csharp.
    By Glenn Block in forum .NET
    Replies: 1
    Last Post: 01-04-2003, 06:52 PM
  3. Replies: 0
    Last Post: 04-01-2002, 05:47 AM
  4. Passing Objects ( design in VB.NET )
    By danths@spryinc.com in forum .NET
    Replies: 3
    Last Post: 03-13-2002, 03:15 AM
  5. Passing objects in methods
    By Richard K Bethell in forum .NET
    Replies: 0
    Last Post: 10-26-2000, 04:00 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center