Server via RMI without registry

后端 未结 3 473
囚心锁ツ
囚心锁ツ 2021-02-06 15:49

I have a service object that can be connected to via RMI. Currently I\'m doing this:

Server

Registry r = LocateRegistry.createRegistry(1         


        
3条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-02-06 16:08

    Client uses an rmi URL like rmi://localhost:2020/server

    see https://stackoverflow.com/a/61210297/503025

提交回复
热议问题