Tool for JavaBean to XML ?
5 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Harish_P
Posted On:   Friday, July 16, 2004 11:42 AM

Does anyone know an tool for JavaBean to XML conversion?

Re: Tool for JavaBean to XML ?

Posted By:   Michael_Gendelman  
Posted On:   Thursday, July 22, 2004 08:10 AM

Castor is very easy to use.


try {
StringWriter writer = new StringWriter();
Marshaller.marshal(o, writer);
return writer.getBuffer().toString();
} catch (Exception e) {
throw new RuntimeException(e.getMessage());
}

Re: Tool for JavaBean to XML ?

Posted By:   Anonymous  
Posted On:   Thursday, July 22, 2004 02:43 AM

http://xstream.codehaus.org

http://jakarta.apache.org/commons/betwixt

http://xml.apache.org/xmlbeans



to name a few...

Re: Tool for JavaBean to XML ?

Posted By:   Aad_Nales  
Posted On:   Tuesday, July 20, 2004 08:55 AM

Betwixt in Apache might work as well...

Re: Tool for JavaBean to XML ?

Posted By:   Sean_Ruff  
Posted On:   Monday, July 19, 2004 06:46 AM

Among others...

Castor

Re: Tool for JavaBean to XML ?

Posted By:   Chandra_Patni  
Posted On:   Friday, July 16, 2004 03:00 PM

See java.bean.XMLEncoder and java.bean.Decoder APIs.
About | Sitemap | Contact