9.3. The Declarative Programming Model XML Document Type

The most important part of our DPM is defining the DTD we will use for operating on our shared memory space. The operations we will support include: add document, remove document, and add element to document. The vocabulary for these operations is defined below:

The root element for each operation is called OPERATION. It has no attributes and possibly two children.

Within OPERATION we can have two legal child element types: DOCUMENT and ASSOCIATION. DOCUMENT defines the documents to be added to the shared memory space, as well as the elements to be added to a document. The ASSOCIATION element allows us to associate a particular document with a Java class file located within our memory space. ...

Get Enterprise Application Integration With XML and Java™ now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.