How to do garbage collection under CORBA

I wanted to do garbage collection under CORBA, and so I asked some questions on the ORBit list. Here is a distillation of the answers which I received, mostly verbatim and not necessarily in order.

Editor's note - this chapter came from Todd Lewis

The question

I asked the following question on the ORBit list:

"As a client, when I no longer need an object, how do I properly release it? I see a couple of different candidate functions, but I'm not sure which one is proper. If there's a piece of example code which I've overlooked, then a simple pointer thereto would suffice. My copy of the Henning & Vinoski book is on the way, and so hopefully I won't be so clueless here soon... "