![]() |
|
When a client that wants to access an Enterprise JavaBean, it first locates the EJB home as described in C++ CORBA client, locating the EJB home. The object pointer to the EJB home can then be used to create an Enterprise JavaBean object; for example:
ejbPtr = ejbHomePtr->create();
When the Enterprise JavaBean object has been created successfully, any of its methods can be called; for example:
msg = ejbPtr->message();
Related concepts... | |
C++ CORBA client, locating the EJB home | |
Parent: The CORBA client programming model | |
The CORBA programming model | |
![]() |