Java Programming with CORBA
Advanced Techniques for Building Distributed Applications
Chapter One
Practical POA Programming
This chapter explains how to make more advanced use of the Portable
Object Adapter. The POA and its policy configurations were introduced in
section 2.3.6 of Chapter 2, "CORBA Overview." We discuss in more detail
which POA policies are suitable for specific applications and environments,
and we present a detailed example using some of the most important policy
combinations. We also demonstrate the use of Java serialization as a simple
persistence mechanism.
As a running example for this chapter, we revisit and considerably extend
the Room Booking example from Chapter 8, "Building Applications," into a
multiuser meeting application.
10.1 POA Policies Revisited
As explained in Chapter 2, individual POAs can be created with different
combinations of policies. These policies determine how the POA manages
objects and servants. They also determine how a POA uses its internal data
structures. POA policies are a structured and extremely flexible way of configuring
server applications. They also provi ... read full excerpt from Java Programming with CORBA ebook