What is a skeleton in a network?

后端 未结 2 1057
既然无缘
既然无缘 2021-01-25 03:55

In a J2EE application, clients (applications, JSPs, servlets, JavaBeans) access entity beans via their remote interfaces. Thus, every client invocation po

相关标签:
2条回答
  • 2021-01-25 04:28

    When talking about RPC, stubs and skeletons are proxies for the remotely called procedure/method on the client/server respectively.

    A client invokes a stub, that stub sends a protocol request to the server. The request arrives to the skeleton at the server, which then invokes the exported method.

    Typically, stubs and skeletons are autogenerated from some IDL description by some tool

    0 讨论(0)
  • 2021-01-25 04:49

    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.

    So....

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

    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.

    0 讨论(0)
提交回复
热议问题