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

Re: DOM vs JDOM

  • From: Uche Ogbuji <uche.ogbuji@f...>
  • To: Tom Bradford <bradford@d...>
  • Date: Thu, 15 Feb 2001 15:49:53 -0700 (MST)

difference between dom and jdom
> SNedunuri@p... wrote:
> > In their article Easy Java/XML integration with JDOM, Part 1 in JavaWorld,
> > http://www.javaworld.com/javaworld/jw-05-2000/jw-0518-jdom.htm
> > Hunter and McLaughlin say: "DOM represents a document tree fully held in
> > memory."
>
> This is a statement to promote their project and generate FUD for the
> DOM.  While I like JDOM and have my complaints about the DOM, there's
> not much difference between JDOM and most DOM implementations other than
> the fact that JDOM isn't interface and factory-based.
>
> > Is there anything inherent in the DOM interface that requires the document
> > to be held in memory? Why does the DOM interface require that a document be
> > fully held any more than the JDOM interface does?
>
> There is nothing that requires a DOM tree to be held in memory other
> than the DOM implementation itself.  Lazy DOMs allow you to
> incrementally retrieve and traverse DOM trees, I believe the Xerces
> project was working on such a beast, and the dbXML DOM is partially a
> lazy DOM.

Yep.  4Suite's DbDom is also a lazy DOM.  I agree that the claims quoted
from the article are disingenuous.


-- 
Uche Ogbuji                               Principal Consultant
uche.ogbuji@f...               +1 303 583 9900 x 101
Fourthought, Inc.                         http://Fourthought.com
4735 East Walnut St, Ste. C, Boulder, CO 80301-2537, USA
Software-engineering, knowledge-management, XML, CORBA, Linux, Python


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.