[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Storing XSL Documents In Database
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
|
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
|