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.
<service id="jud">
<host>jud.yak</host>
<load>
<jud>./jud-0.4/jud.so</jud>
</load>
<jud xmlns="jabber:config:jud">
<vCard>
<FN>JUD on yak</FN>
<DESC>yak User Directory Services</DESC>
<URL>http://yak/</URL>
</vCard>
</jud>
</service>
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access
