“服务器"上的存根是什么?骨架是什么意思? [英] what is stub on the "server" and what does skeleton mean?

查看:42
本文介绍了“服务器"上的存根是什么?骨架是什么意思?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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 ?

推荐答案

看下图:

简而言之,stubskeleton 是 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.

这篇关于“服务器"上的存根是什么?骨架是什么意思?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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