File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Java Object - XML

Mike Yu
Ranch Hand

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

Thanks,<br />Mike
Sean MacLean
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.
I agree. Here's the link:
subject: Java Object - XML
It's not a secret anymore!