什么是网络中的骨架? [英] What is a skeleton in a network?

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

问题描述


在J2EE应用程序中,客户端
(应用程序,JSP,servlet,
JavaBeans)通过
远程接口访问实体bean。因此,即使客户端和企业
bean在同一个JVM,OS或
中,每个
客户端调用都可能通过网络存根和骨架路由

机器。

In a J2EE application, clients (applications, JSPs, servlets, JavaBeans) access entity beans via their remote interfaces. Thus, every client invocation potentially routes through network stubs and skeletons, even if the client and the enterprise bean are in the same JVM, OS, or machine.

什么是网络骨架?某种代理?我理解一个存根是一个单独使用的连接,这是正确的吗?

What's a network skeleton? Some kind of proxy? I understand a stub to be a single use connection, is that correct?

推荐答案

在RMI术语中,骨架是生成的对象,它位于服务器上,接受来自网络的呼叫,解组它们,并将它们转发给业务对象。

In RMI lingo, the skeleton is the generated object that sits on the server, accepts calls from the network, unmarshals them, and forwards them on to the business object.

所以....


Client Business Object -> Stub -> Network -> Skeleton -> Server Business Object

这是一个相当陈旧的术语,因为这种东西比它更加自动化曾经是早期的java,必须明确生成骨架。

It's a rather antiquated term, though, since this sort of stuff is much more automated than it used to be in early java, where skeletons had to be explicitly generated.

这篇关于什么是网络中的骨架?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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