OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: XML Application Servers

[ Lists Home | Date Index | Thread Index ]
  • From: Sebastien Sahuc <ssahuc@imediation.com>
  • To: Mike Williams <mikew@o3.co.uk>, Matthew Gertner <matthew@praxis.cz>
  • Date: Fri, 26 Nov 1999 09:41:58 +0100

> I'm using XML as part of a Java servlet-driven framework.  
> The servlets implement the control logic, and interact with EJBs
which implement business logic and DB access.

I like this approach since it the one we deserve!

> The servlet collects output data in a hash-table.  Then, I 
> (plan to) run a
> template-processor, which splices this data into existing XML 
> templates,
> constructing an abstract view of the page. The templating 
> system here is
> similar to HTML templating systems like FreeMarker and 
> WebMacro.  Templates
> don't contain logic, just layout.

Sound similar to the Cocoon publishing framework, expect that your
control logic is handled by the servlet itself. This latter point
should, IMHO, be also XML driven, a la XSP (still from Cocoon), since
logic description -SHOULD NOT- be hard-coded in servlet but rather
scripted, and eventually compiled on the fly by the server processor.
In our project we don't yet clearly seperate the logic from the
content, but our approach is the following : We can express Business
Object behaviour in XML, say simple, actions on a EJB are writen in
XML and result from such action, is still XML, that way, the XSL
processor, in the last step, provide the formatting into HTML for
client that need it. 

May you need more information, don't hesitate.

Sebastien


xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo@ic.ac.uk the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)






 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS