Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] Sending a document across a socket

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Elliotte Harold <elharo AT metalab.unc.edu>
  • To: "Altman, Alan" <Alan.Altman AT ipc.com>
  • Cc: xom-interest <xom-interest AT lists.ibiblio.org>
  • Subject: Re: [XOM-interest] Sending a document across a socket
  • Date: Fri, 06 Oct 2006 18:28:36 -0400

Altman, Alan wrote:
Basic question here.

I don't really understand what it means when it says that xom is not
serializeable and one should use xml.

If I have created a document (which seems straightforward) what do I do with it to be able to send it across a socket that I have opened. And also the opposite. What do I do if I need to receive a file from a socket.


XOM documents are "serializable" with a lower-case s. Just use the Serializer class. They are not "Serializable" in the Java sense; i.e. classes do not implement the Serializable interface. That's all.


--
Elliotte Rusty Harold elharo AT metalab.unc.edu
Java I/O 2nd Edition Just Published!
http://www.cafeaulait.org/books/javaio2/
http://www.amazon.com/exec/obidos/ISBN=0596527500/ref=nosim/cafeaulaitA/




Archive powered by MHonArc 2.6.24.

Top of Page