Skip to Main Content
DCE Replacement Strategies
book

DCE Replacement Strategies

by Heinz Johner, Jakob Erber, Stephen Hawkins, Klaus Mueller, Pallavi Nagesha Rao, Donna Skibbie
June 2003
Intermediate to advanced content levelIntermediate to advanced
454 pages
10h 19m
English
IBM Redbooks
Content preview from DCE Replacement Strategies
Appendix B. Scenario 2: Source code listings 353
// Destructor for class Greet_Impl.
Greet_Impl::~Greet_Impl() { }
Revised application server
Description: CORBA C++ server code
File name: server_CORBA.cpp
#ifndef lint
static const char *sccsid = "@(#) 1.0 GreetServer.cpp, 11/5/03 ";
#endif
#include <locale.h>
#include <CosNaming.hh>
#include <greet.ih>
#include <WSServerShutdown.h>
#if defined(minor)
#undef minor
#endif
// Global declarations:
static ::CORBA::ORB_ptr op;
static ::CORBA::BOA_ptr bp;
::CORBA::ImplementationDef_ptr imp ;
Greet_var greet_Impl;
// This function deallocates resources used throughout the program.
void release_resources( ::CORBA::BOA_ptr bp, ::CORBA::ImplementationDef_ptr
imp, ::CORBA::ORB_ptr op ) {
// Deallocate the various resour ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Reinventing the Organization for GenAI and LLMs

Reinventing the Organization for GenAI and LLMs

Ethan Mollick

Publisher Resources

ISBN: 0738453080Purchase book