A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Android Security Essentials Live Lessons
this week in the
XML and Related Technologies
xml data binding and saving "in progress" documents
Joined: Jul 20, 2004
Jul 20, 2004 09:20:00
I am working on a
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:
subject: xml data binding and saving "in progress" documents
Axis2 - wsdl2java - JAXB
JAXB or Mapping XML to Java?
JAXB - Inheritance ?
Study Resources for SCDJWS Exam
How to identify which commandLink was clicked? [SOLVED]
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014