File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes XML and Related Technologies and the fly likes java bean to xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "java bean to xml" Watch "java bean to xml" New topic

java bean to xml

kavitha vasu
Ranch Hand

Joined: Feb 22, 2007
Posts: 70
Hi All,

I have the following java bean class, i need to convert this java bean to xml document.

How can i achieve this ?

Give me an idea to continue.

Thnaks in advance
Wirianto Djunaidi
Ranch Hand

Joined: Mar 20, 2001
Posts: 210

You can checkout JAXB or XML Beans.
I agree. Here's the link:
subject: java bean to xml
It's not a secret anymore!