You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by Elliotte Rusty Harold <el...@metalab.unc.edu> on 2003/09/30 12:54:08 UTC

Re: HEEEEEEEEEEELP ME please

At 1:41 AM -0500 9/30/03, Milton Leonardo Labanda J wrote:
>Good night dear friends.
>I am sorry by question you other wise, but i need your help for 
>finish my grade work:
>1.- Need find the way to do more ligth my aplication. In my 
>aplication i take a DATABASE TABLE with JDBC and than MAKE a JDOM 
>TREE with the rows and columns of this table, finally i save de JDOM 
>Document (tree) at the disk, but THE PROBLEM IS THAT SOME TABLES ARE 
>VERY BIG.


Would you load an entire database into memory at once? Not if it's of 
any size. XML documents are no different. You need to process it a 
piece at a time. You can do this by using SAX or XOM and possibly 
other APIs.

-- 

   Elliotte Rusty Harold
   elharo@metalab.unc.edu
   Processing XML with Java (Addison-Wesley, 2002)
   http://www.cafeconleche.org/books/xmljava
   http://www.amazon.com/exec/obidos/ISBN%3D0201771861/cafeaulaitA

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org