Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within XML
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
XML and Related Technologies
Java to XML
Deepak Kaul
Greenhorn
Posts: 13
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
What is the best way to convert a
Java
Object (representing a object graph) to a XML?
Tony Morris
Ranch Hand
Posts: 1608
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
At the moment, the best way is to use a third party, such as JSX.
If you adhere to the (broken) JavaBeans spec., you can use XMLEncoder/XMLDecoder to derive a partially optimal solution.
Tony Morris
Java Q&A (FAQ, Trivia)
agilan palani
Greenhorn
Posts: 11
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Can I know why are not suggesting JAXB?
Paulo Aquino
Ranch Hand
Posts: 202
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
XStream?
Be Afraid...Be very Afraid...
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
XML file generation
Convert XSLT Template to XSLT String object
Write XML using JAVA
Java Object - XML
Java Objects to XML
More...