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] Pass-by-reference redirection
Date Thu, 14 Feb 2002 17:13:03 GMT
> *Redirection*
> 
> We've identified the need for ServerA to tell
> ClientA that the refernce 
> required should actually be got from ServerB.  As
> such, it needs to pass 
> back a redirection reply that communicates the
> location of the 
> redirected resource.  We think that some JDBC
> inspired driver string 
> would be the right thing:
> 
>  
>
"altrmi:transport-type:host-details:service-name:reference-id"
> 

*Redirection* would also imply a protocol(REQUEST obj
maybe )
 which allows ServerB to tell ServerA to register a 
remote object for him .

Flow of REQUESTs:

=====================
i) REMOTE PUBLISH
======================

          publishREQUEST(serviceName,server(b)
details)
SERVER(b)
-------------------------------------------->SERVER(a)


=================
ii) CLIENT 
=================

       openconn.
Client --------> Server(a)
        
       Lookup(serviceName)
       --------> Server(a) 
                             Lookup
                            ----------> Server(b)
                            LookupReply
                            <---------- Server(b)

        RedirectReply
        (altrmi:type:host:serviceName)
       <-------- Server(a)

                Class Request
Client --------------------------------> Server(b)
                Method Request
       --------------------------------> Server(b)
                               



makes sense.

V i n a y.


__________________________________________________
Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings!
http://greetings.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