tags:

views:

93

answers:

0

I want to share information between Class A (Server) and class B (Client) over RMI, but to avoid firewall issues, I want to add a Class C (proxy) to forward requests from client to server, or from server to client. My first idea was to create a registry on the server and the proxy, and clients can lookup and call methods on the proxy, which in turn calls methods on the server. Is this a reasonable idea? Are there any drawbacks or obviously better implementations?