![]() |
A client can pass a local object reference to the server, enabling the server to make a method call back to a client-side object. This callback capability is useful if the client needs to be notified of some event on the server. It is also useful if the server needs customized client functionality to fulfill its implementation.
A callback to the client is conceptually no different from any client/server situation: when a client passes an object reference C to a server S, and S invokes a method on C, the server S is acting as a client, and C is acting as a server.
A callback object can be an Enterprise JavaBean, which the server (acting as client) can access through the various means of client access to an Enterprise JavaBean. In particular, if the server object is implemented in C++, you must deal with all the complexities of calling an Enterprise JavaBean from a C++ client.
Related concepts... | |
Parent: C++ CORBA client, locating a servant object | |
Parent: The CORBA client programming model | |
The CORBA programming model | |