Logo
Introduction
Application Overview
Data Model
Mgmt User Interface
Components
Advanced
Reference
   
 USING XML BETWEEN LAYERS
 

Benefits

 

 
 Example
 

Eliminates passing object references between components.

Enhances reusability of object references between components.

Provides consistent data structures independent of backend data structures.

Provides an abstract layer between an application's business component layer and the data components.

Provides a more open, scalable architecture.

 ASP script calls Create method of Business Component.
  Business Component submits the request to the Integration Agent
 
Integration Agent submits it to the Data Component
 
Data Component constructs an empty search request XML document and returns it to the Integration Agent.
 
Integration Agent returns it to the Business Component
 
Business Component returns the search request XML to the ASP script
 
ASP script populates the search request with search request data - account number, part number, quantity.

 ASP script calls
CheckAvailability method of the Business Component
  Business Component submits the request to the Integration Agent
  Integration Agent submits it to the Data Component
  Data Component parses the request, builds a query, sends query to data system.
  Data system sends a response to the Data Component
  Data Component formats the XML response and returns it to the Integration Agent.
  Integration Agent returns response to Business Component.
  Business Component returns response to ASP script.
  ASP script parses the XML and sends the result to the browser as HTML.