Hello, wondering if anyone else has thought about a similar problem as the one below,
I currently use Xerces-J to serialize Java objects to XML, send this across a socket and have the corresponding object recreated in both a Java and C++. We are finding that in profiling our software, significant improvements could be made by removing the conversion of the internal binary XML structure to plain text and sending this over the network instead. For example. determing that the value of a class attribute is (int) 5, writing this as a String and outputting to either a socket or file as part of a larger XML document being written out.
In other words, is there some internal Xerces binary structure that we could use to send data across the network instead of using a plain text XML representation of the serialized Java object?
Is the problem the time it takes to convert the internal DOM to an XML file or the time it takes to send the XML text data over the network?
For the latter one I would try to compress the data, which should be quite effective since it's only text.
Reinhard
-- Reinhard Brandstaedter [EMAIL PROTECTED] GPG: 0x033B81DB - Student of Computer Science - J.K. University of Linz - - <ICQ: 73059068> <Mobile: +43 699 12419541> - - http://adelaide.dnsalias.net -
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
