You are previewing Pure CORBA.
O'Reilly logo
Pure CORBA

Book Description

PURE CORBA 3 is a premium, code-intensive reference for professional developers. It focuses on the core specification for CORBA 3 and contains:

  • conceptual overview of CORBA 3.

  • CORBA techniques programming reference that contains thousands of lines of commercial-quality code examples in both C++ and Java (the two most popular languages among CORBA developers).

  • concise reference to the most important parts of the specification,

  • Table of Contents

    1. Copyright
    2. About the Author
    3. About the Contributing Authors
    4. Acknowledgments
    5. Tell Us What You Think!
    6. Introduction
      1. How This Book Is Organized
    7. Conceptual Reference
      1. CORBA Architecture
        1. The Rise of Middleware
        2. The Object Management Group
        3. The Common Object Request Broker Architecture
        4. Basic CORBA Concepts
        5. Deployment of CORBA Applications
        6. The Object Management Architecture
        7. Summary
      2. Programming with CORBA
        1. A Basic Client-Server Application—Example 1
        2. Basic IDL Mapping (Example 1)
        3. Initializing a CORBA Application
        4. Adding an IDL Interface for Searching—Example 2
        5. IDL Mapping for Some Complex Types (Example 2)
        6. Returning Parameters
        7. Adding Exception Handling—Example 3
        8. IDL Mapping (3)
        9. Adding a Multiply-Inheriting IDL Interface—Example 4
        10. Multiple Inheritance and the Delegation (Tie) Approach (Example 4)
        11. Adding CORBA Naming Service Support—Example 5
        12. More IDL Syntax and Rules for Mapping Identifiers
        13. More About Servers
        14. Summary
    8. Techniques
      1. A Sample CORBA System
        1. Recycle Broker Architecture
        2. Recycle Broker IDL
        3. Recycle Broker Implementation
        4. Summary
      2. Memory Management
        1. C++ Smart Pointer Types _var
        2. Sample IDL
        3. Allocating and Initializing
        4. Deallocating
        5. Assignment and Copying
        6. Parameter Passing
        7. Summary
      3. Object References
        1. CORBA Objects and Object References
        2. IDL Syntax of Interfaces
        3. C++ Memory Management
        4. Nil Object Reference
        5. Factory Objects
        6. Polymorphism
        7. Interoperable Object Reference
        8. Summary
      4. Interoperable Naming Service
        1. Overview
        2. Names
        3. The Initialization Service
        4. Basic Operations
        5. Server Example
        6. Client Example
        7. Federated Naming Service
        8. Binding Iterators and the list() Operation
        9. Object URLs
        10. Specifying Values for Initial References
        11. Summary
        12. Initialization Service Pseudo-IDL
        13. Naming Service IDL
      5. The Portable Object Adapter
        1. Understanding the POA
        2. POA Policies
        3. Types of CORBA Objects
        4. A POA for Session Objects
        5. A POA for Entity Objects
        6. A POA for Service Objects
        7. Servant Activator POA
        8. Servant Locator POA
        9. Default Servant POA
        10. Implicit Activation
        11. The POAManager
        12. POA Activation
        13. Summary
      6. The any Type
        1. Introduction to the any Type
        2. A Sample IDL Module
        3. C++ Example of Passing anys
        4. C++ Insertion into CORBA::Any
        5. C++ Extraction from CORBA::Any
        6. Java Example of Passing anys
        7. Java Insertion into org.omg.CORBA.Any
        8. Extraction from org.omg.CORBA.Any
        9. Type Codes
        10. Summary
      7. Callbacks
        1. Processing Invocations in a Client
        2. Avoiding Deadlock in Callbacks
        3. Callback Example Using oneway Operations
        4. Summary
      8. Interceptors
        1. Portable Interceptor Interface
        2. Request Interceptors
        3. Portable Interceptor Current
        4. IOR Interceptor
        5. PolicyFactory Interface
        6. Registering Interceptors
        7. Writing and Using Portable Interceptors
        8. Summary
      9. Objects by Value
        1. Overview of Value Semantics
        2. Regular Value Type
        3. Example of a Regular Value Implementation
        4. Other Kinds of Value Type
        5. Summary
      10. Events Service
        1. CORBA Event Service Patterns
        2. Using an Event Channel
        3. Summary
      11. CORBA Components
        1. Basic Architecture
        2. Defining IDL for Components
        3. Generating Component Skeletons
        4. Implementing Components
        5. Implementing Component Homes
        6. Implementing Clients
        7. Container Programming Environment
        8. Extended Components
        9. Development and Deployment Roles
        10. Component Assembly and Deployment
        11. Summary
        12. Components IDL Module
      12. The Internet Inter-ORB Protocol
        1. GIOP: The Basis for IIOP
        2. IIOP Specialization of GIOP
        3. Summary
    9. Syntax Reference
      1. IDL Data Types
        1. Built-In IDL Types
        2. Pseudo-IDL from the CORBA Module
        3. Exception Types
        4. The PortableServer Module
        5. Java Helper and Holder Types
      2. IDL Grammar
        1. Literals
        2. Expressions
        3. OMG IDL Grammar in EBNF Notation
      3. DynAny Type
        1. Introduction to the DynamicAny Module
        2. Dynamic Creation of Type Codes
        3. Creating and Destroying a DynAny
        4. DynAny Examples
        5. Dynamic any IDL
      4. Dynamic Invocation Interface
        1. Overview of the DII
        2. Use of CORBA::DynAny and CORBA::TypeCode
        3. Using CORBA::Request Objects
        4. oneway Invocations
        5. Asynchronous Invocations
        6. Pseudo-Interfaces
      5. Dynamic Skeleton Interface
        1. Overview of the DSI
        2. C++ Implementing a DSI Servant
        3. Java Implementing a DSI Servant
      6. Interface Repository
        1. Structure of the Interface Repository
        2. Using the Interface Repository
        3. An Example of Reading from the Interface Repository
        4. IDL for the Interface Repository
      7. CORBA System Exceptions
    10. Index