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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.