>the classes for serialization are based on streams, is there a way to
>easily serialize objects directly to a channel or a bytebuffer without
>opening the channel's stream?
Your alterantive, which is even clumsier is to create a
byteArrayOutputStream, then a byte[] then feed that to your channel.

Signature
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.