aspose file tools*
The moose likes Java in General and the fly likes Java Object - XML Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Java Object - XML" Watch "Java Object - XML" New topic
Author

Java Object - XML

Mike Yu
Ranch Hand

Joined: Nov 17, 2001
Posts: 175
Hi,
Can we serialize a Java object via XML?


Thanks,<br />Mike
Sean MacLean
author
Ranch Hand

Joined: Nov 07, 2000
Posts: 621
I'm not clear on what you mean. Do you mean take a data object (i.e. java bean) and have it's data translated into an XML Document (which can then be written to disk)? If so, look at the early access JAXB from Sun (I know this goes the other direction xml -> java bean) or Castor. These might be helpful.
Sean
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Java Object - XML