I'm trying to determine if remoting might be a suitable replacement for an older RMI implementation I'm using. This implementation has a built-in jxta layer which provides functionality similar to multiplex sockets. Jxta also provides a notion of a "relay" server, which can provide connections between two firewalled clients.
Does the multiplex or bisocket implementation in remoting implement anything similar to a relay mechanism? In the relay role the server doesnt actually do anything with a stream except to pass it onto another client.
Thanks for any insight.
Currently, there is no relay facility. Of course, you could implement an ad hoc relay by coding it in an invocation handler. That is, when the invocation handler gets an invocation, it acts like a client, making an invocation on another server. And, of course, it would return the result to the actual client.