[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: saving DOM as bytecode in database
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! | | |
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|