my dog learned polymorphism*
The moose likes XML and Related Technologies and the fly likes xml data binding and saving 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 » Engineering » XML and Related Technologies
Bookmark "xml data binding and saving "in progress" documents" Watch "xml data binding and saving "in progress" documents" New topic
Author

xml data binding and saving "in progress" documents

Robert Dang
Greenhorn

Joined: Jul 20, 2004
Posts: 3
Hello,

I am working on a java form project where one of the requirements is that the user must be able to save his work "in progress" and be allowed to return later to finish it.

I used JAXB to do the data binding, but the problem is that JAXB doesn't allow "incomplete" object models to be marshalled/unmarshalled.

This has proven to be a huge problem, and we've had to use a really bad hack to address it (namely, "initializing" all the incomplete elements with either blanks, '0', or a default value).

Did anyone run across this problem, and if so, how did you address it? Will using another data binding framework solve it? Castor, XMLBeans? Please help, I'm in a time crunch now.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: xml data binding and saving "in progress" documents
 
Similar Threads
Axis2 - wsdl2java - JAXB
JAXB or Mapping XML to Java?
JAXB - Inheritance ?
Study Resources for SCDJWS Exam
How to identify which commandLink was clicked? [SOLVED]