File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Soft Skills: The software developer's life manual this week in the Jobs Discussion forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java XML persistence

 
john guthrie
Ranch Hand
Posts: 124
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm looking for some suggestions for ways to create persistent XML in Java. I am working on a piece of a project where I have to move data to and from RDBMS's via XML files. The problem is that the size of the data is fairly unbounded.
Going from an XML file to a RDBMS is pretty easy, I just use SAX, where my handler writes to the database at the end of a "row".
Going the other way is not as obvious. I want to represent a database table as an XML document. I was using Zeus to do some XML binding, but it (and all other XML binding solutions I've seen) want to create the whole DOM internally, then you're allowed to dump it to a file. The only solution I see is homegrown, where I println a bunch of stuff that I hope looks like valid XML.
Are there any tools or other APIs that anyone thinks might help me here?
Thanks.
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to the XML forum.
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic