[jboss-dev-forums] [Design of POJO Server] - Re: xml persistent format for attachments
emuckenhuber
do-not-reply at jboss.com
Wed Nov 12 11:07:35 EST 2008
"scott.stark at jboss.org" wrote : We need the option to have a AttachmentSerializer per attachment type, but for our own metadata using jaxb, we should fix the marshalling/unmarshalling so its consistent.
|
I do have a JAXBAttachmentSerializer for the local-ds i was testing the attachment persistence with.
This now also persists the mbean with a basic marshalling implementation of the @XmlJavaTypeAdapter(ServiceMetaDataAdapter.class).
So it creates a w3c.dom.Element from the ServiceMetaData for that.
For the ServiceDeployment i think the best we be to add JAXB annotations
and do the parsing for: LoaderRepositoryConfig, ServiceDeploymentClassPath similiar with an Adapter?
Well at least it seems to work, and i doubt that we can use JAXB fully for this parsing without changing the whole ServiceMetaData model :)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4188839#4188839
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4188839
More information about the jboss-dev-forums
mailing list