what is stub on the quot;serverquot; and what does skeleton mean?(“服务器上的存根是什么?骨架是什么意思?)
问题描述
stub 在服务器端做了什么?什么是骨架?
What does stub do on the server side ? And what is a skeleton ?
这是来自维基百科的图表.我在服务器机器和客户端机器上都安装了 stub.我知道存根有助于客户端的网络,但存根在服务器端有什么作用?
This is a diagram from wikipedia. I installed stub both on the server machine and the client machine. I understand that stub helps in the networking on the client side but what does stub do on the server side ?
还有上图中的skeleton是什么意思?
Also in the above figure what does skeleton mean ?
推荐答案
看下图:
简而言之,stub 和 skeleton 是 Web 服务设置中的对应物.Skeleton 属于服务提供方
,stub 属于接收方
.在较低级别的存根和骨架相互通信.
To be short,stub and skeleton are counterparts in a web service setup. Skeleton belongs to service provider side
and stub belongs to receiver side
. At lower level stub and skeleton communicate with each other.
从客户端,业务对象与存根对象进行通信,存根负责形成消息并调用 Web 服务.一旦调用完成,在服务提供者端,骨架是存根的并行对象,它接收请求消息并理解它并将信息传递给服务端业务对象.
From client side the business objects communicates with stub objects and stub takes the responsibility form the message and invoke the web service. Once the invoking is done, at service provider side, skeleton is the parallel object for stub and it receives the request message and understands it and passes on the information to service side business objects.
这篇关于“服务器"上的存根是什么?骨架是什么意思?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:“服务器"上的存根是什么?骨架是什么意思?


- Java包名称中单词分隔符的约定是什么? 2022-01-01
- Eclipse 插件更新错误日志在哪里? 2022-01-01
- Spring Boot连接到使用仲裁器运行的MongoDB副本集 2022-01-01
- 从 finally 块返回时 Java 的奇怪行为 2022-01-01
- C++ 和 Java 进程之间的共享内存 2022-01-01
- value & 是什么意思?0xff 在 Java 中做什么? 2022-01-01
- 如何使用WebFilter实现授权头检查 2022-01-01
- Jersey REST 客户端:发布多部分数据 2022-01-01
- 将log4j 1.2配置转换为log4j 2配置 2022-01-01
- Safepoint+stats 日志,输出 JDK12 中没有 vmop 操作 2022-01-01