Reputation: 35951
For an application build on Spring MVC
+ Groovy
+ Google App Engine
i need simple XML serializer/marchaller.
I'v tried:
XStream
- it doesn't work on Google App Engine, because it uses restricted (at GAE) classesJaxb2
- it doesn't work with Groovy classes, because groovy class have additional (hidden) fields (like metaClass
, etc)XmlBeans
as I understand can be used only for deserializing from XML to Java BeansCastor
seems to be big overhead (i don't need any XMLSchema and so on)I want to just dump class to the corresponding XML, and i want to configure tag names using some simple config (java annotations, for ex), without XMLSchema/DTD
So, requirements is:
Can anyone recommend me an good tool for this?
Upvotes: 0
Views: 1878
Reputation: 17375
I don't know if there is a lib which fits your requirements, but you could take a look into that list: http://karussell.wordpress.com/2009/09/03/xml-serializers-for-java/
e.g. the simple lib is a good candidate
Upvotes: 1