CORBA client to WebSphere enterprise bean server
CORBA clients can use the CORBA client programming model to access enterprise
beans hosted by a WebSphere enterprise bean server, as shown in the following
figure:
The EJB server provides the server implementation objects (enterprise beans)
that client applications need to access and implement the services that support
those objects. The EJB class file is used to generate the Interface Definition
Language (IDL) for the class and its home. Serializable objects used in the
EJB interface are expressed in the IDL as CORBA valuetypes. Implementations
for CORBA valuetypes must be provided on the client, so it is important to
keep this simple.
In this scenario, when the client wants to call a method on a server object
(an enterprise bean), the following sequence of events occur:
- When the client environment starts, the client ORB initializes and the
ORB bootstrap process accesses the naming service with CORBA CosNaming bindings.
- When a client application needs to access an enterprise bean, the client
environment uses the naming service to find a location for the bean.
- The home locates or creates the enterprise bean and passes the Interoperable
Object Reference (IOR) of the bean back to the client.
- The client ORB creates a proxy (stub) object for the bean and returns
it to the client application.
- The client invokes methods on the proxy object to communicate with the
remote bean as though it is in the local process.

Developing a CORBA C++ client
Searchable topic ID:
ccor_c2ejb
Last updated: Jun 21, 2007 8:07:48 PM CDT
WebSphere Business Integration Server Foundation, Version 5.0.2
http://publib.boulder.ibm.com/infocenter/wasinfo/index.jsp?topic=/com.ibm.wasee.doc/info/ee/corba/concepts/ccor_c2ejb.html