Implementing the Server in C++ (cont’d)
// C++
#include <CORBA.h>
#include <Hello_impl.h>
#include <fstream.h>
int
main(int argc, char* argv[], char*[])
{
CORBA_ORB_var orb = CORBA_ORB_init(argc, argv);
CORBA_BOA_var boa = orb -> BOA_init(argc, argv);
Include implementation header
Initialize ORB
Initialize BOA
Previous slide
Next slide
Back to first slide
View graphic version