Component Instance: jud
As mentioned already, the JUD is a user directory service that provides
storage and query facilities for the user’s name and address data. The
jud
component instance described by the configuration
XML in Example 4-18 is shown in diagram form in
Figure 4-14.
The JUD that
is defined here relies upon the xdb
component for data storage and retrieval
services, which in turn means that, in this case, the data is stored in XML
format in a file under the directory defined in the
<spool/>
tag in the xdb
component instance’s definition. All the data managed by the JUD is
stored in one lump, with no specific JID associated with it; this means
that xdb
’s engine, xdb_file
, will store it as a single file called
global.xml under the directory named after the JUD
hostname jud.
Get Programming Jabber 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.