RMI callback on exist socket connection.
lamb liu <[email protected]>
| Newsgroups | gmane.comp.java.sun.rmi |
|---|---|
| Message-ID | <[email protected]> |
Generally, if I want to initiate callback from RMI server to a
client(for notification, etc...)
I need to export the client object ,
Thus JDK will try to setup another socket on the server to connect back.
This method will incur many problem especially when client is behind a
proxy.
I wonder if it is another method to implement callback on established
connection.
In theory, it is possible, since this connection is full duplex
connection, thus server
can send data back.
But I never found clear implementation on this issue.
Sun's RMI faq points out: it is not normally possible. So how can I do
it abnormally?
Does a solution exist?Or I must do it by myself?
Lamb.
--
__o __o __o
_`\<,`\<,`\<,_
(*)/---/---/ (*)
===========================================================================
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