Originally posted by Ajith Kallambella:
We use the Producer-Processor pattern supported by Cocoon( it is also called the "Reactor" pattern.) that allows us to plug-in dynamic XML producers and Processors.
Our producers use EJBs to communicate with the DB. We wrote a small framework to transform the resultset into an XML string. Producers make use of these XML strings to build the XML document that gets rendered or processed.
This is not a very efficient way of doing it, but it works. We will very soon move to XML databinding and/or making use of XML-enabled databases such as Oracle 8i.
Hope that helps!
Originally posted by Frank Daly:
Thanks for your offer of help. If you use databases, could you give an example or instructions using cocoon to generate an xml file from a query?