xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Samson, Lyndon [IT]" <lyndon.sam...@ssmb.com>
Subject RE: XML based system architecture
Date Wed, 02 May 2001 09:45:18 GMT
You could use XML-RPC ( simpler ) or SOAP ( more functionality ).

I did something similar, but only 2-tier distributed.

Outbound 
 XML -> SQL - > XML -> HTML

Inbound
 HTML FORM -> XML -> SQL

ie for Outbound

<queryset name="listCustomers">
  <sql>select * from customers</sql>
</queryset>

select * from customers;

<customers id="1">
 <name>aaa</name>
 <address>123 abc</address>
</customers>
<customers id="2">
 <name>bbb</name>
 <address>456 xzy</address>
</customers>
...

...
<table>
 <tr><td>Name</td></td>Address</td></tr>
 <tr><td>aaa</td></td>123 abc</td></tr>
 <tr><td>bbb</td></td>456 xyz</td></tr>
</table>
...







-----Original Message-----
From: Xavier MACHENAUD [mailto:xavier.machenaud@st.com]
Sent: Wednesday, May 02, 2001 10:23 AM
To: General@xml.apache.org
Subject: XML based system architecture


Hi,

I'm in the process of designing an XML based application and I'm running
into a problem.

I want to separate the Presentation layer (XML server) and the Business
Logic layer (servlet/cgi/...) by using XML : the presentation layer is
querying  the business logic layer which is returning XML data.
Of course, I don't want my BL layer to do any output formatting.


        http
+-----+ get/post  +-----+       query         +-----+
|user | --------> |     | ------------------> |     |
|agent|           |Pres.|                     | BL  |
|     | <-------  |layer| <------------------ |layer|
+-----+  html     +-----+        XML          +-----+
         pdf      Xml Server                Servlet/cgi/...
         wml



My problem is how can implement such an architecture?
More specifically, what protocol (compatible with that fact that there
could be a firewall between the 2 layers) can be used to query the BL
servlet?
 

Cheers,
Xavier

---------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          general-unsubscribe@xml.apache.org
For additional commands, e-mail: general-help@xml.apache.org

---------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          general-unsubscribe@xml.apache.org
For additional commands, e-mail: general-help@xml.apache.org


Mime
View raw message