- Posted by: Shesh Giri
- Posted on: June 22 2002 07:29 EDT
I'm Shesh here, pretty new to XML / Java Web Services, (and also to theServerside.com) Please can anyone help me out in Serializing a Java object into a XML instance document through a java code. I thought of acheiving this through, javax.xml.rpc.encoding package, but i couldnt make it.
Please help me out in that,
- Java Object Serialization with XML, How to acheive? by Wilfred Springer on June 24 2002 02:20 EDT
- Java Object Serialization with XML, How to acheive? by Daniel Holmes on June 24 2002 11:09 EDT
- Java Object Serialization with XML, How to acheive? by David Jones on June 24 2002 15:12 EDT
Try JAXB. Alltough it hasn't been released officially yet, you can download an early access edition, which has been around for quite a while. It only supports plain old DTD's though. If you need Java binding based on XML Schema, and if you want it for free, you could consider Castor. If you want a commercial version, you should consider XML Breeze (or Breeze XML?) Another nice option is jnerd's xml2java.
I'm using a great package called ElectricXML from www.themindelectric.com.
It does basic data binding and SOAP object encoding of Java objects
The two I hear talked about the most are Castor and Zues. I have used Castor and it is a great tool.