In my project I store several objects as XML in Xindice, as well as exchange them using Axis.
Initially I though of implementing the Serializer/Deserializer classes according to Axis norm and use them decoupled to persist to Xindice. I am having quite a bit of trouble finding quality documentation on how to implement serialization beyond the trivial. I use AXIS : Next Generation Java SOAP, but in this area it is out of date and only deals with trivial stuff. Secondly, I fear that decoupling will be hard. I suppose I could use the BeanMapping mechanism, but I am uncertain if it will give me sufficient level of control of the structure used. I dont want to produce blurted and hard-to-read xml. XmlBeans seem like worth looking at, and appears to be well documented. So what should I do ? Use a common implementation, or two different ? Henrik