The XML Server

The XML Server below shows how the XML Server fits into the architecture of a IBM Cúram Social Program Management application. An application can read application data from a database and using curam.util.xml.impl.XMLDocument and curam.util.xml.impl.XMLPrintStream can transmit XML data to the XML Server. The XML Server processes the data and renders a document in any of a number of formats. This document is then submitted to the system allowing arbitrary commands to be executed on the document so that it can be printed, e-mailed, transferred, stored, etc. in any system-specific way.

Figure 1. XML Processing Architecture

The connection from XMLPrintStream to the XML Server is over a TCP/IP socket allowing the XML Server to be located remotely. The XML Server is configured, at startup, to run a command on its host to process the document.

The XML Server is fully threaded, allowing it to process multiple jobs simultaneously.