[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Storing XSL Documents In Database


Subject: Storing XSL Documents In Database
From: Ben Bertola <bbertola@xxxxxxxxxxxx>
Date: Wed, 16 Feb 2000 17:19:03 -0700

I have a need to store many xsl/xml documents in a database and would like
to know what the best solution everyone has found is.  I am using Oracle 8i
on Solaris, and Java.  I am accessing the table through EJB and would like
to keep the whole thing container managed if possible.  It seems to me that
there are 3 good solutions to do this:
    1.  Serialize the Document object to a byte array, and write that to
the database.
    2.  Write the document out to a byte array, and write the byte array to
the database( Pretty close to serializing, but not quite)
    3.  Write out the Document to a String, and store each line of the
document as a varchar in the database, having 1 database entry for each
line in the document.

Has anyone dealt with this before and what solutions did you come up with?
THanks,
Ben Bertola


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread