[JDEV] XDB on PostgreSQL
David Waite
user at internet.com
Fri Nov 24 20:28:18 CST 2000
Eric Murphy wrote:
This isn't the same XDB in the current Jabber Server - unfortunately we can't
use this technology due to namespace conflicts ;-)
The XDB TLA of the current database is used to load and store arbitrary
XML content based on user account and XML namespace, for instance:
<xdb type="get" to="Akuma at jabber.org:/jabber:iq:roster"/>
would return the contents of the roster as stored on the server. Note that XDB
packets are not part of the Jabber protocol itself, but is instead an
extension only allowed between trusted server components (and this is why they
must be trusted, they can fetch any arbitrary data).
As far as I know, with the current server setup you can use iq get's and set's
of an arbitrary namespace, and use that to store information on the server,
more notably configuration data for clients (window positions, UI state, etc).
-David Waite
> I don't know how relevant this might be to the Jabber server, but this might
> be worth checking out since it uses XDB:
> http://www.zvon.org/index.php?nav_id=61
>
> "XDB is an XML document repository providing structured storage of XML data,
> at present using an RDBMS mapping over PostgreSQL. As the first step, our
> plan is to develop a lightweight XML persistent storage engine on top of a
> relational database backend to come up with a UI and API in short time and
> replace it by our native XML storage system in the second step to satisfy
> complex XML processing requirements."
>
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev
More information about the JDev
mailing list