[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

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

  • From: Ronald Bourret <rbourret@i...>
  • To: Xml-Dev <xml-dev@i...>
  • Date: Tue, 17 Aug 1999 17:06:00 +0200

glue layer
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@i...
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@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)



PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.