From general-return-4131-apmail-xml-general-archive=xml.apache.org@xml.apache.org Wed May 02 09:44:04 2001 Return-Path: Delivered-To: apmail-xml-general-archive@xml.apache.org Received: (qmail 79903 invoked by uid 500); 2 May 2001 09:44:00 -0000 Mailing-List: contact general-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: general@xml.apache.org Delivered-To: mailing list general@xml.apache.org Received: (qmail 79887 invoked from network); 2 May 2001 09:43:58 -0000 From: "Alistair Hopkins" To: Subject: RE: XML based system architecture Date: Wed, 2 May 2001 10:40:47 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal In-Reply-To: <3AEFD1E1.96CCC6FE@st.com> X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N http but this will be inefficient why not separate them but have them running in the same MVC framework ie, the controller calls the BL layer which returns XML, then the controller calls the presentation layer with the returned XML which processes it appropriately via XSL? Alistair -----Original Message----- From: mx2@dais.cro.st.com [mailto:mx2@dais.cro.st.com]On Behalf Of Xavier MACHENAUD 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