O'Reilly logo

Pure CORBA by Fintan Bolton

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

A POA for Session Objects

This section describes how to create and use a POA instance that is appropriate for activating and managing session objects. The sample IDL used to illustrate the POA for session objects is given in Listing 7.2.

Listing 7.2. A Sample IDL
//IDL

module RecycleBroker {
    //...

    // Interface for Session Objects
    interface Browsing {
        // operations and attributes not shown...
    };

    // Base Interface for Session Object Factory
    interface Office {
        Browsing get_browsing();
    };

    // Interface for Session Object Factory
    interface BranchOffice :  Office { };
};

This example is based on the RecycleBroker application described in Chapter 3.

Browsing objects are created for a short time to allow a particular user to browse the list of available ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required