java - 什么是 RMI 注册表

标签 java networking rmi

什么是 RMI 注册表?它有什么作用?

最佳答案

本质上,RMI 注册中心是服务器注册它提供的服务的地方,也是客户端查询这些服务的地方。见 Introduction to Java RMI .摘录:

Figure 1 shows the connections made by the client when using RMI. Firstly, the client must contact an RMI registry, and request the name of the service. Developer B won't know the exact location of the RMI service, but he knows enough to contact Developer A's registry. This will point him in the direction of the service he wants to call..

关于java - 什么是 RMI 注册表,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5658929/

相关文章:

数百次 Java RMI 调用无故失败

java - 无法连接到 SMTP 主机 : smtp. gmail.com,端口 : 465, 响应:-1

Java - 访问说明符

尽管是 Collections.unmodifiableList(),但 Java List 从某处被修改

java - 如何以编程方式将 IP 数据包字节写入 PCAP 文件格式?

java - 如何在RMI中自动将接口(interface).class文件导入到客户端?

Mac 上的 Java 机器人按键 "shift"?

Java UDP问题

ios - dataWithContentsOfURL 通过蜂窝返回 NSCocoaErrorDomain Code=256,但不是 wifi

java - Java 静态方法没有 RMI