Instantiating proxies using CORBA-style interfaces

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.

“Initializing the ORB”

2

Use the ORB reference to create a Manager instance for the server.

“Creating a Manager instance”

3

Use the Manager instance to create a Session.

“Creating sessions”

4

Use the Session instance to create stub component instances.

“Creating stub instances”

5

Call the stub methods to remotely invoke component methods.

“Invoke component methods”

NoteIf 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.