![]() |
Use this task to develop a CORBA server to service requests for business functions used in the implementation of client objects. The instructions and code extracts provided in this task are based on the development of the WSLoggerServer sample, for which files are included with WebSphere in the following directory: WAS_HOME/Enterprise/samples/sampcppsdk.
Developing a CORBA server involves developing a server implementation class (known as a servant) and a server, as described in the following steps:
This steps results in a fully-specified servant.idl file.
This step results in the set of usage binding files required for the servant.idl file.
This step results in the servant implementation header file, servant.idl, that contains all the declarations for class variables, constructors, and destructors needed by the implementation.
This step results in the server implementation file, servant_I.cpp, that contains the code needed by the implementation to support the business logic.
This step results in the server main source file, server.cpp, that contains the main method and associated code needed to implement the server.
Related concepts... | |
The CORBA programming model | |
The CORBA server programming model | |