OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: 2 WAY - Programming "Glue Layer" between the database and XML and ba

[ Lists Home | Date Index | Thread Index ]
  • From: Ronald Bourret <rbourret@ito.tu-darmstadt.de>
  • To: Xml-Dev <xml-dev@ic.ac.uk>
  • Date: Tue, 17 Aug 1999 17:06:00 +0200

Jim Garrett wrote:

> Is/has anyone working/worked on a programming glue layer
> between the RDBMS and the XML doc, so that it goes both
> ways in real time.
>
> So that the latest and greatest is always present in the
> RDBMS.
>
> I need the Glue to work in both directions.
>
> Or are all solutions just Glue out to XML and the standard
> POST back to the RDBMS for the return trip.

XML-DBMS transfers data in both directions, using a DOM tree on the XML 
end. Whether this meets your requirement for "real time" is not clear. In 
particular, changes made in the DOM tree are not immediately reflected in 
the database or vice versa. Instead, the programmer must call a method to 
update the opposing media and the methods that do this transfer all the 
data, not just the changed data. This was an explicit design choice, as the 
software was really designed for simple data transfer.

If you are looking for immediate reflection of changes, then what you need 
is a DOM implementation directly over a relational database. Although this 
has been discussed, I'm not aware of any implementations of it. 
Furthermore, this would be far more complex to implement than data 
transfer. For example, it would require the database to notify the DOM tree 
of changes. Since this isn't covered by JDBC, the code to do it would 
probably be database-specific, if the database supported such capabilities 
at all.

Out of curiousity, if you do need immediate updates, what is your scenario? 
 Except for writing a persistent DOM with a relational database as the data 
store, I'm having trouble imagining why anybody would need this.

-- Ron Bourret


xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)






 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS