Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] does XOM offer any performance advantages for me?

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: jason mazzotta <jazzdman AT comcast.net>
  • To: Elliotte Rusty Harold <elharo AT metalab.unc.edu>
  • Cc: xom-interest AT lists.ibiblio.org
  • Subject: Re: [XOM-interest] does XOM offer any performance advantages for me?
  • Date: Wed, 30 Mar 2005 00:02:39 -0500

I'm trying to use an XML document as a database for e-mail messages. The form of the document, shown earlier, separates the e-mail into different mailboxes. The application that uses this XML document stores e-mail, allows the user to move e-mails into different mailboxes, remove an e-mail altogether, or add and remove mailboxes. From what I know about using XML so far, it really is not suited to this purpose. Making changes to an XML document becomes more costly in terms of time and hardware resources as the document becomes larger.
From reading the XOM website, it hinted at faster performance for dealing with large documents. What I was looking for was a way to minimize resource usage for the tasks described above (e.g. moving an e-mail from one "mailbox" to another). However, as far as I can tell, if you're going to make a random change to an XML document, you must know the form of the entire document to begin with.

Thanks for your time,

Jason Mazzotta


On Mar 29, 2005, at 11:03 PM, Elliotte Rusty Harold wrote:

jason mazzotta wrote:
Thanks for the suggestion, but I'm not quite sure I understand. If you were going to examine things an element at a time, I'm not sure how you'd compare the shape of the document in its current form to the one in memory.


You need to be clearer about what it is you're trying to do. You haven't given anyone enough information yet to decide if what you're attempting is possible or not with XOM.

--
Elliotte Rusty Harold elharo AT metalab.unc.edu
XML in a Nutshell 3rd Edition Just Published!
http://www.cafeconleche.org/books/xian3/
http://www.amazon.com/exec/obidos/ISBN=0596007647/cafeaulaitA/ref=nosim






Archive powered by MHonArc 2.6.24.

Top of Page