Before invoking methods on component instances, the client must connect to a server and instantiate the components. Your code must perform these steps to create proxy instances:
Step |
What it does |
Detailed explanation |
---|---|---|
1 |
Initialize the CORBA ORB and create an ORB reference. |
|
2 |
Use the ORB reference to create a Manager instance. |
|
3 |
Use the Manager instance to create a Session. |
|
4 |
Use the Session instance to create stub component instances. |
|
5 |
Call the stub methods to remotely invoke component methods. |
Except for the example in “Processing result sets”, the same client source code
is used as an example throughout this section. Only the parts relevant
to each step are used.