Does anyone know of some examples I can follow. I am attempting to send an XML document to a remote host via RMI. What is the best way to do this? My first thought was to use the Serializer classes in org.apache.xml.serialize and just sending the results over the wire through a method call. However I found the classes weren't documented very well beyond the cryptic javadocs.
Am I way off here?
Yes. org.apache.xml.serialize has nothing to do with object serialization, which is pretty much pointless for XML anyway. If you're sending documents across the wire, send the documents. Don't try to encode them in the opaque, inefficient, binary object serialization format first.
--
+-----------------------+------------------------+-------------------+ | Elliotte Rusty Harold | [EMAIL PROTECTED] | Writer/Programmer | +-----------------------+------------------------+-------------------+ | The XML Bible, 2nd Edition (Hungry Minds, 2001) | | http://www.cafeconleche.org/books/bible2/ | | http://www.amazon.com/exec/obidos/ISBN=0764547607/cafeaulaitA/ | +----------------------------------+---------------------------------+ | Read Cafe au Lait for Java News: http://www.cafeaulait.org/ | | Read Cafe con Leche for XML News: http://www.cafeconleche.org/ | +----------------------------------+---------------------------------+
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
