jQuery in Action, 2nd edition*
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Java Object - XML
 
Similar Threads
XML file generation
Write XML using JAVA
Convert XSLT Template to XSLT String object
Java to XML
Java Objects to XML