[Home] [By Thread] [By Date] [Recent Entries]

  • From: Steve Muench <smuench@u...>
  • To: Huaxin Zhang <hxzhang@c...>
  • Date: Fri, 06 Oct 2000 09:07:38 -0700

It's certainly possible using a BLOB column,
but I'd recommend you do some benchmarking of 
this approach against other serialization approaches,
like simply storing the "serialized text form" of the XML document
in a CLOB column.

Several of our internal teams found that
the performance of Java Serialization (at least of
a DOM tree!) was appreciably slower than simply
storing the XML as text and reparsing when needed.
(Not to mention that other types of non-Java 
programs can make use of the serialized XML, while
they could not if it were stored as Java-serialized
DOM objects.)

______________________________________________________________
Steve Muench, Lead XML Evangelist & Consulting Product Manager
BC4J & XSQL Servlet Development Teams, Oracle Rep to XSL WG
Author "Building Oracle XML Applications", O'Reilly
http://www.oreilly.com/catalog/orxmlapp/

----- Original Message ----- 
From: "Huaxin Zhang" <hxzhang@c...>
To: <xml-dev@l...>
Sent: Thursday, October 05, 2000 10:12 PM
Subject: saving DOM as bytecode in database


| Maybe this is bad idea, but is it possible to
| save DOM as serialized bytecode in a database like
| oracle? Does anybody know such a DOM implementation?
| 
| Thanks a lot! 
| 
| 
| 


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member