|Serializing J2EE deployment descriptors [message #511503]
||Mon, 01 February 2010 14:18
| No real name
Registered: February 2010
I'm making changes to the web.xml and ejb-jar.xml model objects (WebApp and EJBJar), and I'd like to create a preview of the changes prior to saving them. In order to do that, I need to serialize the objects and get a byte array or inputstream to pass to the preview.|
Since these EMF objects aren't XMI-backed, I can't use the normal XMI serialization--webApp.eResource().save(....)--without an exception.
Is there a way, without going through internal APIs, to do the serialization?.
Powered by FUDForum
. Page generated in 0.01598 seconds