[1421] in java-interest
Re: [Q] How to do a RPC from java ? (example code request for YP/NIS
daemon@ATHENA.MIT.EDU (Luca Ida Giovanni TOLDO)
Fri Sep 1 15:54:38 1995
Date: Fri, 01 Sep 1995 18:46:13 +0100
From: luca.toldo@EMBL-Heidelberg.DE (Luca Ida Giovanni TOLDO)
Cc: luca.toldo@EMBL-Heidelberg.DE, java-interest@java.Eng.Sun.COM
To: cmcmanis@scndprsn.Eng.Sun.COM (Chuck McManis)
At 9:17 Uhr 01.09.1995, Chuck McManis wrote:
>Currently it is not possible to use UDP from the current socket layer so
>you can't
>directly write an RPC handler in Java. This will be fixed. You have two
>choices,
>one you can write it in C and put Java wrappers around it (this means it
>can't be
>part of an applet) or if you have access to NIS+ you can talk to it using TCP.
>
>--Chuck
Dear Chuck,
I wrote in C a program that does what I want for what concern the
autentication by NIS.
I wish to wrap it around by Java but I cannot see how that can work in an
applet ...
I would be glad if you could mail me an example (specific for the case) of
how to make
the wrapper.
regards
luca
p.s. I would also like to know how to spawn a command on the client from
Java ... is
System('whoami') sufficient ?
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com