Real Time Information Director User Documentation

RTID Message Format and Programmatic Interfaces
Hewlett-Packard Company 10 529618 - 002
For more detailed information about Director statistics XML formats, see the document
entitled RTID Management.
Director Programmatic Interfaces
This section describes the interfaces for programmatic access to the Director.
Specifically, this section covers
Invoking the Dispatch servlet, using HTTP
Invoking the Dispatch EJB from a J2EE client running on the NonStop Server
Invoking the Dispatcher directly from a Java client running on the NonStop
Server
Invoking the Director low-level interface from a Java client
The following figure represents the interfaces and their relationships.
RTID
Ser vlets
JM S Q s
Dispatcher
Dispatch
EJB
Dispatch
Ser vl et
Direct
Ja va
Cl i en t
EJB
Client
DocumentHelper/
Group
Lo w - Le v e l
Interface
Cl i en t
Figure 1. Director Programmatic Interfaces
In all cases except the use of the low-level interface, clients send and receive XML
documents. A client that uses the low-level interface operates on the Group object,
introduced in the document entitled RTID Metadata Language and further described in
the Javadocs for the Group class.
A document sent by client can be
A new document
An update to an existing document
A query
A document received by the client can be
A query response, if the client sent a query