Dynamic Invocation
Most of the time, when you use CORBA from a Java program, you're doing static method invocation. That is, you know about the methods that you want to call when you first compile your program. CORBA also supports a mechanism called dynamic method invocation, where you don't need to know what methods an object supports until runtime. The official name for the dynamic method invocation is the Dynamic Invocation Interface, or DII.
Obviously, if you don't know about the methods until runtime, you can hardly expect to have a stub object for invoking methods. Instead, you create a Request object based on a method name.
The Request object represents a particular method in a distributed object. To create a Request object, call the ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access