Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

XML Object serialization

 
Max Habibi
town drunk
( and author)
Sheriff
Posts: 4118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need a jdk 1.3 complient tool that will serialize a given object's state to XML, and then back again. Any and all suggestions are appreciated.
Thanks,
M
 
Balaji Loganathan
author and deputy
Bartender
Posts: 3150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Max Habibi:
I need a jdk 1.3 complient tool that will serialize a given object's state to XML, and then back again. Any and all suggestions are appreciated.
Thanks,
M

I think castor may help you for this http://castor.exolab.org/
 
Max Habibi
town drunk
( and author)
Sheriff
Posts: 4118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Balaji,
Already tried castor, but it's not as smart as I had hoped, in that it doesn't seem to handle
1) circular references well,
2) when unmarshalling, handle overloaded methods well(ex. setSSN() takes both a String and a ssn Object), but Castor seems unable to keep up.
Any other suggestions?
Thanks,
M, author
The Sun Certified Java Developer Exam with J2SE 1.4
 
Roseanne Zhang
Ranch Hand
Posts: 1953
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
http://www.csse.monash.edu.au/~bren/JSX/
JXS is good, open source, but GPL lincenced!!!
You need to pay or open source your product.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic