[SoapRMI] Re: SoapRMI digest, Vol 1 #137 - 6 msgs

Aleksander Slominski aslom_at_cs.indiana.edu
Mon, 18 Feb 2002 21:15:55 -0500


hi,

if you wanted to send base64 encoded data you would need to encode it yourself and use
sequence<char> for the base64 (or an array<char> if you know the size statically).

however if  application is written in corba then byte (octet) sequence is much better as there
is no need for encoding / decoding overhead and no 33% size increase that is inherent for
BASE64.

alek

smarsten wrote:

> Can he set up a base 64 variable in his IDL file?
>
> Steve
>
> Aleksander Slominski wrote:
>
> > hi,
> >
> > that is good idea and it should work - the only possible drawbacks i can see is that both
> > sides needs to know CORBA if XML (or base64 for graphics data) was used it is more
> > flexible.
> >
> > alek
> >
> > smarsten wrote:
> >
> > > Wrt the Randy CORBA vs. RMI-SOAP below: how about jar-filing the CORBA request and
> > > serialize it through the servlet and vice versa, to cut down on the size of the
> > > message? Then he doesn't have to deal with a firewall using CORBA service and IOR, by
> > > using RMI-SOAP? Is that conceivable?