Posts from 2001
-
:
CORBA - Reference Counting
We’ve been developing code on Windows and Unix for quite some time, but most of the distributed component work we’ve been involved in has been done using COM. That’s changing now as clients have more requirements for Unix … -
:
CORBA - More Reference Counting
Although we managed to develop a working solution in the first CORBA reference counting article the results were ugly and fragile. In this article we attempt to clean things up a little and, in doing so, get intimate with the Portable … -
:
CORBA - Reference Counting Issues
At the end of the second article we have developed a self contained reference counting implementation that appears to work. Unfortunately, it’s still far from reliable as CORBA doesn’t provide the level of support for reference … -
:
CORBA - Enumeration
CORBA provides sequences as a way of returning collections of items from an method call. The problem with just using unbounded sequences is that the client has no control over how many items it receives as a result of the call. COM gets … -
:
CORBA - Iteration
A CORBA style method of enumeration can be seen in the iteration interfaces on the CORBA Naming Service. Given the code we’ve already written for the enumeration interface we can easily implement an iteration interface as well as (or, … -
:
CORBA - The Evictor Pattern
Since CORBA doesn’t really support reliable reference counting implementations we’ll compare one of the recommended methods of servant life-time management with our reference counted iteration interface. The problem If you … -
:
CORBA - Keep Alive
One way of making a reference counted implementation more robust is to run the keep-alive protocol yourself. We demonstrate this option here. The problem In the previous article we developed a strategy where the server would destroy objects … -
:
The CORBA Evictor Pattern in Java
When a CORBA server allows its clients to create and destroy objects one of the recommended ways to handle the object lifetime issues is using the Evictor Pattern. In The Evictor Pattern we solved the problem for C++ servers, here we do the … -
:
Java caches in the middle tier
A common way to improve the performance of Java code is to cache objects rather than repeatedly create and destroy them. This is especially true when you’re writing middle tier servers that service client requests and return results … -
:
Rooms 1.7
In 1989 I taught myself C to write an adventure game, the code’s fairly bad, but 10 year’s later, the game’s still quite cool! A very simple adventure game… Over 10 years ago I taught myself to program in C. I … -
:
AVL Tree
A “generic” AVL Tree, from the dark days before templates… The code here is some of my first C++. Back in 1991 C++ was still pretty new. Looking back at my early C++ is better than looking back at my early C. At least my …