DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 1 of 1
  1. #1
    Join Date
    Feb 2005

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

Similar Threads

  1. Passing Objects As Arguments
    By geteas80 in forum Java
    Replies: 3
    Last Post: 06-03-2006, 04:56 PM
  2. Passing asp objects to csharp.
    By Glenn Block in forum .NET
    Replies: 1
    Last Post: 01-04-2003, 05:52 PM
  3. Replies: 0
    Last Post: 04-01-2002, 04:47 AM
  4. Passing Objects ( design in VB.NET )
    By danths@spryinc.com in forum .NET
    Replies: 3
    Last Post: 03-13-2002, 02:15 AM
  5. Passing objects in methods
    By Richard K Bethell in forum .NET
    Replies: 0
    Last Post: 10-26-2000, 03: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
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

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

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.