Rmi callback gotchas?

What do I need to worry about making callbacks in RMI? I just need a simple client notification mechanism to avoid over-polling.

I found an online example , and it looks pretty simple, the client simply implements an interface that extends Remote (for example, the server) and passes it to the server, which can then call back its methods. I assume that a remote callback can occur on any thread, so I have to assume that it will be asynchronous for my regular client application. What else do you have?

+3
source share
1 answer

Two things.

  • RMI callbacks will almost certainly not work through firewalls

  • RMI . , .

+4

Source: https://habr.com/ru/post/1767161/


All Articles