Synopses & Reviews
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,
The Common Object Request Broker Architecture (CORBA) was created to define a common way for applications written in various languages to comminicate. This book focuses on the core specification for CORBA 3 and contains thousands of lines of commercial quality code examples in both Java and C++.
A premium, code-intensive reference for professional developers, "Pure CORBA 3" focuses on the core specification for CORBA 3. It contains a conceptual overview of CORBA 3, CORBA techniques programming reference, and a concise reference to the most important parts of the specification.
About the Author
is a software consultant, trainer, and technical writer for IONA Technologies, the world's leading developer of CORBA tools and software. Mr. Bolton has trained developers in the use of CORBA-based software such as Orbix, OrbixWeb, and OrbixOTM. He has also written technical documentation for many CORBA-based products, including Orbix 2000 and OrbixOTM. He can be reached at email@example.com or at the accompanying Web site for this book, http://www.pure-corba.com.
Jeremy L. Rosenberger is a cofounder of and principal consultant with Ivy Design Group LLC (also known as ivyDesign), a consulting firm specializing in enterprise application architecture using Java, CORBA, EJB, and J2EE technologies. Mr. Rosenberger is also the author of Sams Teach Yourself CORBA in 14 Days (Sams Publishing, 1998). He can be reached at firstname.lastname@example.org.
Mark Shacklette is a principal with Leverett & Pierce, Inc. in Chicago, where he specializes in the design and implementation of distributed object e-Commerce solutions for clients which include the American Bar Association, Siemens, A. C. Nielsen, The Options Clearing Corporation, The Chicago Board of Trade, Kemper Insurance, CNA Insurance, and The Northern Trust Bank. He holds degrees from Furman and Harvard Universities, and is on the faculty of computer science at the University of Chicago, where he teaches courses on operating systems, distributed object technology, and object-oriented architecture, design, and methodology.
Lichun Wang, Ph.D., is a research scientist in applied computing and bioinformatics at EBI (the European Bioinformatics Institute), currently working on using CORBA and XML for accessing and distributing biological data.
Table of Contents
How This Book Is Organized.
I. CONCEPTUAL REFERENCE. 1. CORBA Architecture.
The Rise of Middleware. The Object Management Group. The Common Object Request Broker Architecture. Basic CORBA Concepts. Deployment of CORBA Applications. The Object Management Architecture. Summary. 2. Programming with CORBA.
A Basic Client-Server Application—Example 1. Basic IDL Mapping (Example 1). Initializing a CORBA Application. Adding an IDL Interface for Searching—Example 2. IDL Mapping for Some Complex Types (Example 2). Returning Parameters. Adding Exception Handling—Example 3. IDL Mapping (3). Adding a Multiply-Inheriting IDL Interface—Example 4. Multiple Inheritance and the Delegation (Tie) Approach (Example 4). Adding CORBA Naming Service Support—Example 5. More IDL Syntax and Rules for Mapping Identifiers. More About Servers. Summary.
II. TECHNIQUES. 3. A Sample CORBA System.
Recycle Broker Architecture. Recycle Broker IDL. Recycle Broker Implementation. Summary. 4. Memory Management.
C++ Smart Pointer Types _var. Sample IDL. Allocating and Initializing. Deallocating. Assignment and Copying. Parameter Passing. Summary. 5. Object References.
CORBA Objects and Object References. IDL Syntax of Interfaces. C++ Memory Management. Nil Object Reference. Factory Objects. Polymorphism. Interoperable Object Reference. Summary. 6. Interoperable Naming Service.
Overview. Names. The Initialization Service. Basic Operations. Server Example. Client Example. Federated Naming Service. Binding Iterators and the list() Operation. Object URLs. Specifying Values for Initial References. Summary. Initialization Service Pseudo-IDL. Naming Service IDL. 7. The Portable Object Adapter.
Understanding the POA. POA Policies. Types of CORBA Objects. A POA for Session Objects. A POA for Entity Objects. A POA for Service Objects. Servant Activator POA. Servant Locator POA. Default Servant POA. Implicit Activation. The POAManager. POA Activation. Summary. 8. The any Type.
Introduction to the any Type. A Sample IDL Module. C++ Example of Passing anys. C++ Insertion into CORBA::Any. C++ Extraction from CORBA::Any. Java Example of Passing anys. Java Insertion into org.omg.CORBA.Any. Extraction from org.omg.CORBA.Any. Type Codes. Summary. 9. Callbacks.
Processing Invocations in a Client. Avoiding Deadlock in Callbacks. Callback Example Using oneway Operations. Summary. 10. Interceptors.
Portable Interceptor Interface. Request Interceptors. Portable Interceptor Current. IOR Interceptor. PolicyFactory Interface. Registering Interceptors. Writing and Using Portable Interceptors. Summary. 11. Objects by Value.
Overview of Value Semantics. Regular Value Type. Example of a Regular Value Implementation. Other Kinds of Value Type. Summary. 12. Events Service.
CORBA Event Service Patterns. Using an Event Channel. Summary. 13. CORBA Components.
Basic Architecture. Defining IDL for Components. Generating Component Skeletons. Implementing Components. Implementing Component Homes. Implementing Clients. Container Programming Environment. Extended Components. Development and Deployment Roles. Component Assembly and Deployment. Summary. Components IDL Module. 14. The Internet Inter-ORB Protocol.
GIOP: The Basis for IIOP. IIOP Specialization of GIOP. Summary.
III. SYNTAX REFERENCE. 15. IDL Data Types.
Built-In IDL Types. Pseudo-IDL from the CORBA Module. Exception Types. The PortableServer Module. Java Helper and Holder Types. 16. IDL Grammar.
Literals. Expressions. OMG IDL Grammar in EBNF Notation. 17. DynAny Type.
Introduction to the DynamicAny Module. Dynamic Creation of Type Codes. Creating and Destroying a DynAny. DynAny Examples. Dynamic any IDL. 18. Dynamic Invocation Interface.
Overview of the DII. Use of CORBA::DynAny and CORBA::TypeCode. Using CORBA::Request Objects. oneway Invocations. Asynchronous Invocations. Pseudo-Interfaces. 19. Dynamic Skeleton Interface.
Overview of the DSI. C++ Implementing a DSI Servant. Java Implementing a DSI Servant. 20. Interface Repository.
Structure of the Interface Repository. Using the Interface Repository. An Example of Reading from the Interface Repository. IDL for the Interface Repository. 21. CORBA System Exceptions.