Table of Contents Previous Next
Logo
Object Life Cycle : 31.1 Chapter Overview
Copyright © 2003-2008 ZeroC, Inc.

31.1 Chapter Overview

This chapter discusses object life cycle, in particular with respect to concurrency. The majority of examples in this chapter use C++. However, the issues discussed here apply equally to all programming languages. Moreover, object life cycle is a surprisingly complex topic, so we suggest that you read this chapter in detail, regardless of your choice of programming language.
Sections 31.2 through 31.4 discuss the fundamentals of object life cycle, in particular, what it means for an object to exist and not exist and how life cycle relates to proxies, servants, and Ice objects. Section 31.5 covers object creation and Section 31.6 discusses object destruction, with particular emphasis on concurrency issues. Section 31.7 discusses alternative approaches to object destruction and Section 31.8 examines the trade-off between increased parallelism and complexity with respect to object life cycle and Section 31.9 discusses a number of architectural issues with respect to object identity. Section 31.10 presents an implementation of the file system application with life cycle support in C++ and Java and, finally, Section 31.11 shows how to deal with objects that are abandoned by clients.
Table of Contents Previous Next
Logo