Re: RMI callback on exist socket connection.
Wenbo Zhu <[email protected]>
| Newsgroups | gmane.comp.java.sun.rmi |
|---|---|
| Message-ID | <713043CE8B8E1348AF3C546DBE02C1B4040C269C@zcarhxm2.corp.nortel.com> |
another "commercial": (RMI Multicast & Interceptor - http://sourceforge.net/projects/wenbozhu/) This is mainly for supporting Jgroups based RMI multicast - for replication based FT ..(http://www.jgroups.org/javagroupsnew/docs/success.html) but it does allows you to replace any original wire protocol while still maintaining the RMI invocation semantics .. It's open-sourced, and comments/contributions are welcome .. - Wenbo -----Original Message----- From: lamb liu [mailto:[email protected]] Sent: Thursday, July 07, 2005 7:49 AM To: [email protected] Subject: RMI callback on exist socket connection. 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 =========================================================================== 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