views:

36

answers:

1

I want to generate a XML String for a given object. What is the best API to serialize an object to XML String using Java 1.4?

Thanks,

RT

+3  A: 

XStream is pretty good for that. They're website is here.

dave
+1 for XStream. Its simple and does the job.
Samit G.
I am testing it now and seems to be great. Thanks :)
Ricardo