You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xmlrpc-dev@ws.apache.org by Jochen Wiedmann <jo...@freenet.de> on 2004/07/15 10:54:57 UTC

Patch: Support for serializable objects


Hi,

at http://www.apache.org/~jochen/patches you find an updated patch file, 
which now includes support for instances of Serializable. Such instances are 
converted into byte arrays, gzip'ed and transmitted as base 64 arrays. See 
below for a full description of the patch.


Jochen




Apache XmlRpc patch
===================

This is a patch file for Apache XmlRpc, as of 20-Jun-2004. It is available from
http://ws.apache.org/~jochen/patches/ and includes the following changes:

1.) Uses a SAX 2 parser, rather than MinML or another SAX 1 parser. See
 
http://nagoya.apache.org/eyebrowse/ReadMsg?listName=xmlrpc-dev@ws.apache.org&msgNo=875

2.) Supports null values by setting 
XmlRpcClient.isSupportingTypeExtensions(true)
     and XmlRpcServer.isSupportingTypeExtensions(true). See
 
http://nagoya.apache.org/eyebrowse/ReadMsg?listName=xmlrpc-dev@ws.apache.org&msgNo=908

3.) Replaced the depracated com.sun.net.ssl classes with javax.net.ssl.
     See 
http://nagoya.apache.org/eyebrowse/ReadMsg?listName=xmlrpc-dev@ws.apache.org&msgNo=888

4.) Uses a random, free server port for the test suite, rather than the fixed
     ports 8081, etc. See
 
http://nagoya.apache.org/eyebrowse/ReadMsg?listName=xmlrpc-dev@ws.apache.org&msgNo=901 


5.) Supports byte, short, long, and float by enabling type extensions. Enabling
     these extensions works as in 2.)

6.) Patch for reduced memory use, see
     http://marc.theaimsgroup.com/?l=xmlrpc-dev&m=108984675831883&w=2

7.) Supports instances of java.io.Serializable by enabling type extensions. 
Serializable
     objects are converted into a byte array, gzipped, and base64 encoded. See
     2.) for how to enable type extensions.