You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@xml.apache.org by Tung Mansfield <ma...@orbitcommerce.com> on 2000/11/17 17:05:53 UTC
writing your own serializer
Under what circumstances would you want to write your own serializer to
marshal/unmarshal SOAP data? What are the advantages/disadvantages of a
customized serializer versus the default SOAP serialization? Does anybody
has some sample code to demonstrate a customized serializer?
Re: writing your own serializer
Posted by David Corbin <dc...@machturtle.com>.
Tung Mansfield wrote:
>
> Under what circumstances would you want to write your own serializer to
> marshal/unmarshal SOAP data? What are the advantages/disadvantages of a
> customized serializer versus the default SOAP serialization? Does anybody
> has some sample code to demonstrate a customized serializer?
1) You don't want to write beans because you think they're bad OO.
2) Performance of a custom serializer is undoubtably better, though it
might not matter to system performance.
3) Perhaps you need to handle multilple versions of objects.
As for a sample? Nope. Wish I did...
--
David Corbin
Mach Turtle Technologies, Inc.
http://www.machturtle.com
dcorbin@machturtle.com
Re: writing your own serializer
Posted by David Corbin <dc...@machturtle.com>.
Tung Mansfield wrote:
>
> Under what circumstances would you want to write your own serializer to
> marshal/unmarshal SOAP data? What are the advantages/disadvantages of a
> customized serializer versus the default SOAP serialization? Does anybody
> has some sample code to demonstrate a customized serializer?
1) You don't want to write beans because you think they're bad OO.
2) Performance of a custom serializer is undoubtably better, though it
might not matter to system performance.
3) Perhaps you need to handle multilple versions of objects.
As for a sample? Nope. Wish I did...
--
David Corbin
Mach Turtle Technologies, Inc.
http://www.machturtle.com
dcorbin@machturtle.com