[SoapRMI] Adding extra RMI programs

Aleksander Slominski aslom_at_cs.indiana.edu
Tue, 19 Aug 2003 13:32:54 -0400


Vanitha wrote:

>Hello All,
>
hello,

>How I can add some of the user defined RMI programs into the already
>existing sample examples , what are the steps to be followed?.
>  
>
make sure that your class implements interface that extends soaprmi.Remote
(in hello sample SelloService/Impl class in
http://www.extreme.indiana.edu/viewcvs/~checkout~/xsoap-java/src/java/samples/minimal/)

then make it available by using UnicastRemoteObject.export* and
have SOAP clients to invoke methods. if you use SoapRMI clients
then simply use createStartpoint method.

that is pretty much all - let me know if you have problems with it.

thanks,

alek

-- 
If everything seems under control, you're just not going fast enough. —Mario Andretti