Detailed RMI/JRMP Specs

Robert DiFalco <[email protected]>
Newsgroups gmane.comp.java.sun.rmi
Message-ID <[email protected]>
Where can I find detailed RMI/JRMP specs. Specifically I am looking to
find a sequence diagram for what connections are used for a call and how
long they last.

For example, when a client makes a call to a server, and the server
takes a long time to process something before returning, is that
connection left open the entire time or is there a call back on the
client that is used to marshal results? This would minimize the amount
of time a connection needed to be open.

We have a small framework that does basically this. If I call a server
method that takes sometime to process, it looks like a blocking call to
the client, but what really happens is that the server gets a client
callback, the call back is put into a pool on the client, which the
client waits on, and when the server has finished processing and is
ready to return results, then the server uses this call back to return
the results. This way, the connection to the server is only opened long
enough to marshal arguments (including the call back). Then it is done.
Then another is opened to notify the server. Yes I know that Jini and
other RemoteEvent frameworks have this same capability. 

What I'm curious about is how RMI/JRMP works by default. Are we
recreating something it can do implicitly?

R.

===========================================================================
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff RMI-USERS".  For general help, send email to
[email protected] and include in the body of the message "help".

For a list of frequently asked RMI questions please refer to:
http://java.sun.com/j2se/1.3/docs/guide/rmi/faq.html

To view past RMI-USERS postings, please see:
http://archives.java.sun.com/archives/rmi-users.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.