什么是RMI注册表 [英] what is RMI registry

查看:595
本文介绍了什么是RMI注册表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

什么是RMI注册表?它做了什么?

What is RMI registry? What does it do?

推荐答案

本质上,RMI注册表是服务器注册它提供的服务的地方,也是客户的地方查询这些服务。请参阅 Java RMI简介。摘录:

Essentially the RMI registry is a place for the server to register services it offers and a place for clients to query for those services. See Introduction to Java RMI. Excerpt:


图1显示了客户端在使用RMI时所做的连接。首先,客户端必须联系RMI注册表,并请求服务名称。开发人员B不知道RMI服务的确切位置,但他知道足够联系开发人员A的注册表。这将指向他想要打电话的服务方向..

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..

这篇关于什么是RMI注册表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆