Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do remote invocations work?

invocations remote
0
10 Posted

How do remote invocations work?

0

Figure 2 diagrams a remote invocation. In order to invoke the remote object instance, the client first obtains its object reference. (There are many ways to do this, but we won’t detail any of them here. Easy ways include the Naming Service and the Trader Service.) To make the remote invocation, the client uses the same code that it used in the local invocation we just described, substituting the object reference for the remote instance. When the ORB examines the object reference and discovers that the target object is remote, it routes the invocation out over the network to the remote object’s ORB. (Again we point out: for load balanced servers, this is an oversimplification.) How does this work? OMG has standardized this process at two key levels: First, the client knows the type of object it’s invoking (that it’s a shopping cart object, for instance), and the client stub and object skeleton are generated from the same IDL. This means that the client knows exactly which operations it

0

Figure 2 diagrams a remote invocation. In order to invoke the remote object instance, the client first obtains its object reference. (There are many ways to do this, but we won’t detail any of them here. Easy ways include the Naming Service and the Trader Service.) To make the remote invocation, the client uses the same code that it used in the local invocation we just described, substituting the object reference for the remote instance. When the ORB examines the object reference and discovers that the target object is remote, it routes the invocation out over the network to the remote object’s ORB. (Again we point out: for load balanced servers, this is an oversimplification.) Figure 2 How does this work? OMG has standardized this process at two key levels: First, the client knows the type of object it’s invoking (that it’s a shopping cart object, for instance), and the client stub and object skeleton are generated from the same IDL. This means that the client knows exactly which oper

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123