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

Re: Distributed DOM implementations

  • From: "Eddie Sheffield" <eddie.sheffield@e...>
  • To: XML-DEV <xml-dev@i...>
  • Date: Thu, 28 Jan 1999 11:21:45 -0500

ingo elfering
Hello,

I've been considering the possibilities of such a system myself. One approach
might be to use intelligent stubs on the client side ("stubs" being the client
side objects that you interact with that in turn forward calls to the actual
server-side objects) that provide some caching and prefetching support. This
would require a lot more work, including probably hand-mangling the generated
classes, but could be a useful compromise. For example, when you first get a
reference to the root of the DOM tree, the stub goes ahead and fetches all the
root's attributes and direct childen. If you then refer to one of those child
nodes it's already available locally and so no server call is necessary. There
would need to be some kind of policy in place for dumping cached objects and
selecting which objects to cache to prevent the entire DOM from ultimately being
present in the client (might be a huge document and client resources might be
tight).

Any ideas? I'm tempted to take this notion to the CORBA lists as it's more a
distributed processing problem than XML.

Eddie Sheffield

"Ingargiola, Tito" wrote:

> Hi,
>
> Given that the DOM has an IDL mapping, writing distributed implementations
> of it should be easy.  Due to some of the choices made in that mapping,
> however, it's a little less clean than one might hope.  Specifically, the
> IDL and Java mappings are incompatible.  I had brought this up before in
> both this and the DOM mailing lists.  Stephen McConnell from the OSM
> (http://www.osm.net) was kind enough to explain why this was the case and
> what was being done to address it.
>
> In the meanwhile, out of curiosity, I wrote a set of adapters that provide a
> "bridge" between these inconsistencies in the Java & IDL mappings.  I've
> used these adapters to remotely manipulate DOM objects using the
> stripped-down CORBA implementation that comes with JDK1.2.  My experience is
> that you're not likely to be too pleased with the performance
> characteristics of such an effort, but it's pretty interesting to play with,
> and for some uses the performance characteristics may be acceptable.
>
> If anyone is interested, I'll be happy to send them a copy of these
> (extremely rough!) adapters.  Regards,
>
>         Tito.
>
> 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/
> 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...)

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/
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.