gpt4 book ai didi

java - 什么是 RMI 注册表

转载 作者:IT老高 更新时间:2023-10-28 20:36:44 26 4
gpt4 key购买 nike

什么是 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/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com