Proxies are local objects that allow you to call EAServer component methods as if the component were a local object in your program. Instantiate proxies using the EAServer ORB and SessionManager::Manager interfaces, as follows:
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 for the server. |
|
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. |
If you are using Visual Basic, before using the ORB, Session, Factory, and Manager objects in your client, create references to JaguarORB.tlb, SessionManager.tlb and CtsSecurity.tlb in your Visual Basic project using the standard Visual Basic mechanism.
Copyright © 2005. Sybase Inc. All rights reserved. |