[485] in java-interest
Re: Sending Objects Over Sockets (ONC RPC?)
daemon@ATHENA.MIT.EDU (Pat Niemeyer)
Fri Jun 23 20:56:04 1995
Date: Fri, 23 Jun 1995 16:26:04 -0500 (CDT)
From: Pat Niemeyer <pat@icon-stl.net>
To: java-interest@java.sun.com
Cc: p1nadeau@linux.stevens-tech.edu
>
> On Fri, 23 Jun 1995, Gregory Zoller - Imonics Development wrote:
> >
> > In order to efficiently bundle objects and transmit them over
> > a socket (without converting everything to ascii), it would be
> > nice to have "pack" and "unpack" methods that would convert
> > data to/from a byte array.
> >
> I'm no expert on either RPC or Java, but it sounds a lot like
> ONC-RPC's XDR (eXternal Data Representation). Maybe there's a potential
> tie-in to Java possible...
>
I've been thinking about implementing ONC RPC for Java.
Writing an rpcgen which generates Java would not be that difficult and
it should be straightforward to write XDR for the DataOuputStream class.
It seems like there should be a more dynamic way of sending objects over a
network, however I can't yet see how that's going to be made safe for Java.
Does Sun have a direction for distributed objects in Java yet?
Would ONC RPC be useful?
Pat
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com