This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Java in General and the fly likes Java XML persistence Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Java XML persistence" Watch "Java XML persistence" New topic
Author

Java XML persistence

john guthrie
Ranch Hand

Joined: Aug 05, 2002
Posts: 124
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

Joined: Sep 29, 2000
Posts: 8521
Moving to the XML forum.


"JavaRanch, where the deer and the Certified play" - David O'Meara
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Java XML persistence
 
Similar Threads
Java XML persistence
xml and JaxB without xsd
Any Java API similar to DataSet in ADO.NET
Any Java API similar to DataSet in ADO.NET
Want to do data transfer from DB2 on OS390 to Oracle database on solaris