Using single RMI Registry

后端 未结 5 792
被撕碎了的回忆
被撕碎了的回忆 2021-01-02 14:53

I\'ve been using RMI for a project I am currently working on and I want to bind from multiple hosts to a single RMI registry.

However when I attempt to do so I get a

5条回答
  •  星月不相逢
    2021-01-02 15:03

    Thanks for everyones answers the solution I came up with in the end was to use the Cajo Framework this gives a very flexible system for distribution and it allowed for me to handle the registry as I saw fit. It can also work behind NATs, firewalls, and HTTP proxies, which is very useful.

    I believe that the method of proxying suggested by rndm.buoy will work in some cases but its may be troublesome on some system. RMI seems to have some issues with associating to the wrong Network Interface I particularly had this issue when running on Debian based Linux distributions.

提交回复
热议问题