Using single RMI Registry

后端 未结 5 771
被撕碎了的回忆
被撕碎了的回忆 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:20

    I may be wrong, but it looks like rmiregistry application is essentially a wrapper over local naming service. Which means there is no way to make it point to remote objects.

    What you need is a Naming implementation, and clustered at this. Consider to move into J2EE AS clustering solution. JNDI tree is shared within the cluster.

提交回复
热议问题