Hi, I'm looking for a good tool capable of xml serialization/deserialization -namely, coverting java classes to XML and vise versa. It may rely on binding of scheam/DTD, but it doesn't have to.
It would be nice to have added features, such as: - Configure tag names (e.g. change <employees> tag to <workers> even though the java property is called "employees") - Support for relationships. For instance, if Company holds a list of Employees, and each Employee has a reference back to its parent company, it would be nice if the XML serializer deals with it without going into an infinite loop, and without loosing the relationship on de-serialization.
I've started considering either Castor or Betwix, but haven't had the time yet to have a good look at them. Recommendations would be most appreciated.