commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vinaysahil chandran <>
Subject [AltRMI] Passing stubs around
Date Mon, 18 Feb 2002 07:25:03 GMT
The client stubs should be capable 
of being passed around as an argument(s)..
a simple program to give the stub 
one got from the server back to it is attached
One would hope that it would resolve on the server ,
to the impl registered with it....
What would be right way to acheive the same .?

One way I found was working with making all 
proxies as (AltrmiProxy ) being serializable.
(java.rmi.server.RemoteObject is  serializable for
this cause)
Maybe DefaultMethodHandler during its correctArgs(..)
call will replace the stub with remote impl registered

with server.
makes sense .

V i n a y

Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
View raw message