Org.omg.corba.object description

zhaozj2021-02-11  179

Org.omg.corba.object

CORBA object Reference Description

Author: Cocia Lin

Note: This article is a translation in the source code of JDK1.3.

A CORBA object reference is a special CORBA object handle that is implemented by the server. This object is used to indicate the same object when it is used to call this object each time.

A CORBA object can have multiple distant object references

Org.omg.corba.Object interface is the root in the Java object reference inherction hierarchy, similar to the RMI remote object, Java.rmi.Remote interface

A CORBA object can be local or remote. If it is a local object (this means that this object instance can be invoked directly in the same VM of the client), and this object reference can point to the address of the class of the real object. If the CORBA object is a remote object (that is, running in the unused VM), the object reference points to the stub (PROXY), the stub uses the ORB middleware to make the object implemented on the remote server to be called.

The default implementation in org.omg.corba.object is provided in org.omg.corba.portable.ObjectImpl, this is a base class that stubs and objects implemented.

Reference: org.omg.corba.portable.ObjectImpl

About author

Cocia Lin (cocia@163.com) is a programmer. He has a bachelor's degree, now specializing in Java related technologies, just starting to toss in the computer field.

转载请注明原文地址:https://www.9cbs.com/read-5928.html

New Post(0)