Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Serializing J2EE deployment descriptors
Serializing J2EE deployment descriptors [message #511503] Mon, 01 February 2010 19:18
No real name is currently offline No real nameFriend
Messages: 1
Registered: February 2010
Junior Member
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?.

Thanks,
PW
Previous Topic:Archived Update Site?
Next Topic:Unable to find BIRT Web Project
Goto Forum:
  


Current Time: Sun Nov 23 01:20:41 GMT 2014

Powered by FUDForum. Page generated in 0.01630 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software