| Author |
How to marshall or serialize objects to XML without using Jaxb?
|
Thomas Chang
Ranch Hand
Joined: May 13, 2008
Posts: 59
|
|
Hi all, I use Axis to create java classes based on a WSDL. After I fill or set values to the classes by using the setters, I want to marshall the objects to XML. I know I can simply use Jaxb to do this. But since I will deploy my application to BEA Weblogic 8 and this is not compatible with Java5 and Jaxb uses Java5. So I have to look for another alternative to do the marshalling or serializing. Has someone idea?
|
 |
Martijn Verburg
author
Bartender
Joined: Jun 24, 2003
Posts: 3268
|
|
|
Xstream seems to be a fairly popular choice. There are several more out there (Google search for Java to XML serialization libs)
|
Cheers, Martijn - Blog,
Twitter, PCGen, Ikasan, My The Well-Grounded Java Developer book!,
My start-up.
|
 |
 |
|
|
subject: How to marshall or serialize objects to XML without using Jaxb?
|
|
|