Developing a CORBA
Client which invokes a CORBA Server using
The Dynamic Invocation Interface (DII)
Gopalan Suresh Raj
work with any of these samples, you will need the
.........................................JDK 1.2 (Java 2)
.........................................The idltojava compiler
What happens if the Java interfaces for the remote CORBA Object servers are not available at compile time? You might get a reference to a CORBA Object from a Naming Service, and not know what interface that object implements. Both the Dynamic Invocation Interface (DII) and the Dynamic Skeleton Interface (DSI) API in CORBA provide "A Dynamic Interface to a CORBA Object whose interface is not known at compile time to the client of the CORBA Object".
The Steps involved in developing a CORBA Client that invokes a CORBA Server dynamically using the Dynamic Invocation Interface are:
1. Implement your CORBA client application which uses DII to call the Server component
|// StockMarketClient using
public class DIIStockMarketClient
// Create the method
request using the default context, the name of
2. Compile the files and run the CORBA client
get_price () returned: $159.2
|About the Author...|
|Gopalan Suresh Raj is a Software Architect, Developer and an active Author. He is contributing author to a couple of books "Enterprise Java Computing-Applications and Architecture" (Cambridge University Press, June '99) and "The Awesome Power of JavaBeans" (Manning, July'98). His expertise spans enterprise component architectures and distributed object computing. Visit him at his Web Cornucopia© site (http://www.execpc.com/~gopalan) or mail him at email@example.com.|
This site was developed and is maintained by Gopalan Suresh Raj
This page has been visited times since September 21,1998.
Last Updated : Dec 19, '98
All products and companies mentioned at this site are trademarks of their respective owners.