Building a CORBA C++ server

Why and when to perform this task

This topic provides an overview of the task to build the code for a C++ CORBA server. The actual steps that you complete depend on the development environment that you use.

For example, if you are using the Microsoft C++ 6.0 compiler on Microsoft Windows NT to build a C++ CORBA server, you can use the following commands:

  1. Compile the server.cpp, servant_I.cpp, and servant_S.cpp files.

    At a command line, run the following command for each file:

    cl /c /GX /DSOMCBNOLOCALINCLUDES /Iwasee_install\include 

    where:

    wasee_install
    is the directory into which WebSphere Application Server is installed.
    filename.cpp
    is the name of the file to be compiled (server.cpp, servant_I.cpp, or servant_S.cpp).

  2. At a command line, run the following command for each file:
    link server.obj servant_I.obj servant_S.obj /OUT:server.exe
         wasororm.lib wasosa1m.lib wassrvsm.lib

What to do next

For more examples of building CORBA C++ server code (on several platforms) for WebSphere Application Server, see the topic "Tutorial: Creating a user-defined C++ server and client" in the Samples Gallery.


Related tasks
Developing a CORBA C++ server



Searchable topic ID:   tcor_pgms8
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/tasks/tcor_pgms8.html

Library | Support | Terms of Use | Feedback