[Enterprise Extensions only]
  Previous topic

C++ CORBA client, using an Enterprise JavaBean

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();

  Previous topic