commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vinaysahil chandran <sahilvi...@yahoo.com>
Subject Re: [AltRMI] Passing stubs around
Date Mon, 18 Feb 2002 19:22:44 GMT
Another option would be to use
Annotations; 
annotateClass(..) overrides  in our
ClassLoaderObjectOutputStream(todo)
to pass the extra class information which 
ClassLoaderObjectInputStream can use to dynamically
load new classes ....
Have not given much thought on the way we 
can achieve the same & the repercussions it might have

, but I guess this would be a much cleaner way .
comments????

V i n a y
--- vinaysahil chandran <sahilvinay@yahoo.com> wrote:
> Hi,
> 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
> herewith,
> 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
> http://sports.yahoo.com

> ATTACHMENT part 2 application/x-zip-compressed
name=more_tests_with_altrmi.zip
> --
> To unsubscribe, e-mail:  
> <mailto:commons-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:commons-dev-help@jakarta.apache.org>


__________________________________________________
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com

--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message