XML & Web services: passing dom objects
I have to read an XML file and pass the DOM object from the server to the client. Then parse the object at client side.
Is is possible to pass an XML Document as an object using I/O Streams.
If you mean "is it possible to serialize a DOM object using ObjectOutputStream", the answer is no, it's not.
Of course, you can pass the XML data on any type of stream simply as XML - by writing the XML to the stream on one end, and reading it from the stream on the other.