2000•Prentice Hall eBooksRequires access

The COM and COM+ programming primer Alan Gordon

Alan Gordon

Open publisher page 0 citations

Abstract

(NOTE: Each chapter concludes with Summary.) I. LAYING THE FOUNDATION. 1. What's in a Name? COM. DCOM. MTS. Windows DNA. COM+. ActiveX. OLE. 2. Classes, Objects, and Interfaces. What is Object-Orientation? Classes. Objects. Interfaces. 3. Get on the Software Bus. Software Bus Problems. 4. Building Your First COM Object. The Simple Spell Checker. A Summary of the Steps. Creating a New DLL Project Using Visual C++. Creating a Custom Interface Using IDL. Declaring a C++ Class That Implements the COM Interface. Implementing the SpellChecker Interface. Creating a Class Object. Creating the Required DLL Entry-Points. Creating the Registration Functions. Creating a Client. 5. Making It Simple with ATL and Visual C++ COM Native Support. A Quick Introduction to ATL. The Writer's Component. Creating an ATL Project Using the ATL/COM AppWizard. Adding the Document Checker COM Class Using the ATL Object Wizard. Implementing ISpellChecker. Implementing IgrammarChecker. Creating a Client with Visual C++'s Native COM Support. II. DIGGING DEEPER. 6. Creating an Out-of-Process Server. Marshaling. Instancing. Class Object Registration. Registering an Out-of-Process Server. Building an Out-of-Process Server. A Summary of the Steps. 7. Automation. Defining Automation. Idispatch. Defining Idispatch Interfaces. Variants. Dual Interfaces. Building an Automation Server. A Summary of the Steps. COM Callbacks and Connectable Objects. Understand COM Callbacks/Events. Connectable Objects. Implementing Connection Points. The Connection Point Protocol. Your Multithreaded Stock Monitor Example. 9. COM Threading. Definitions and Background. Multi-Threading and COM. Implement Objects That Will Run in Any STA. Implement Objects That Will Run in the Primary STA. Implement Objects That Will Run in the MTA. Implement Objects That Will Run in the TNA. Compare the Different Threading Models: An Apartment Study. 10. Distributed COM. The Importance of DCOM. Location Transparency Revisited. Security. Example: Configuring a Server via DCOM. III. COM+. 11. An Introduction to the COM+ Architecture. Why Do You Need COM+? Application Architecture. The COM+ Solution. How It Works: The COM+ Architecture. Configure an Object to Use COM+. 12. An Introduction to the COM+ Services. Fine-Grained Security. Transactions. Scalabilty. Synchronization. Queued Components. Load Balancing. Compensating Resource Managers. 13. Building a 3-Tiered Application Using COM+ and Windows DNA 2000. What is the Windows DNA? The Windows DNA 2000. Creating Your First COM+ Application. The Publisher Example Program. Building the Publisher Example Application. Object Pooling. Deploying COM+ Application. Differences Between COM+ and MTS. Debugging with COM+. 14. Queued Components. What are Queued Components? Why Do You Need Queued Components? Microsoft Message Queue. Installing and Using MSMQ. Using Queued Components in Your Example Program. 15. COM+ Events. Why Do You Need COM+ Events? COM+ Events. Using Queued Components with Events. COM+ Events and Transactons. Filtering Events. Using COM+ Events in a Distributed Environment. Your COM+ Stock Monitoring Program. Index.

About this research paper

What this paper is about

(NOTE: Each chapter concludes with Summary.) I. LAYING THE FOUNDATION. 1. What's in a Name? COM. DCOM. MTS. Windows DNA. COM+. ActiveX. OLE. 2. Classes, Objects, and Interfaces. What is Object-Orientation? Classes. Objects. Interfaces. 3. Get on the Software Bus. Software Bus Problems. 4. Building Your First COM Object. The Simple Spell Checker. A Summary of the Steps. Creating a New DLL Project Using Visual C++. Creating a Custom Interface Using IDL. Declaring a C++ Class That Implements the COM Interface. Implementing the SpellChecker Interface. Creating a Class Object. Creating the Required DLL Entry-Points. Creating the Registration Functions. Creating a Client. 5. Making It Simple with ATL and Visual C++ COM Native Support. A Quick Introduction to ATL. The Writer's Component. Creating an ATL Project Using the ATL/COM AppWizard. Adding the Document Checker COM Class Using the ATL Object Wizard. Implementing ISpellChecker. Implementing IgrammarChecker. Creating a Client with Visual C++'s Native COM Support. II. DIGGING DEEPER. 6. Creating an Out-of-Process Server. Marshaling. Instancing. Class Object Registration. Registering an Out-of-Process Server. Building an Out-of-Process Server. A Summary of the Steps. 7. Automation. Defining Automation. Idispatch. Defining Idispatch Interfaces. Variants. Dual Interfaces. Building an Automation Server. A Summary of the Steps. COM Callbacks and Connectable Objects. Understand COM Callbacks/Events. Connectable Objects. Implementing Connection Points. The Connection Point Protocol. Your Multithreaded Stock Monitor Example. 9. COM Threading. Definitions and Background. Multi-Threading and COM. Implement Objects That Will Run in Any STA. Implement Objects That Will Run in the Primary STA. Implement Objects That Will Run in the MTA. Implement Objects That Will Run in the TNA. Compare the Different Threading Models: An Apartment Study. 10. Distributed COM. The Importance of DCOM. Location Transparency Revisited. Security. Example: Configuring a Server via DCOM. III. COM+. 11. An Introduction to the COM+ Architecture. Why Do You Need COM+? Application Architecture. The COM+ Solution. How It Works: The COM+ Architecture. Configure an Object to Use COM+. 12. An Introduction to the COM+ Services. Fine-Grained Security. Transactions. Scalabilty. Synchronization. Queued Components. Load Balancing. Compensating Resource Managers. 13. Building a 3-Tiered Application Using COM+ and Windows DNA 2000. What is the Windows DNA? The Windows DNA 2000. Creating Your First COM+ Application. The Publisher Example Program. Building the Publisher Example Application. Object Pooling. Deploying COM+ Application. Differences Between COM+ and MTS. Debugging with COM+. 14. Queued Components. What are Queued Components? Why Do You Need Queued Components? Microsoft Message Queue. Installing and Using MSMQ. Using Queued Components in Your Example Program. 15. COM+ Events. Why Do You Need COM+ Events? COM+ Events. Using Queued Components with Events. COM+ Events and Transactons. Filtering Events. Using COM+ Events in a Distributed Environment. Your COM+ Stock Monitoring Program. Index.

Why it matters

A significance statement is not available in the OpenAlex record.

Key contribution

A contribution statement is not available in the OpenAlex record.

Method / approach

Method details are not available in the OpenAlex metadata.

Main findings

Findings are not separately available in the OpenAlex metadata.

Limitations

Limitations are not available in the OpenAlex metadata.

Applications

Application details are not available in the OpenAlex metadata.

Available abstract

(NOTE: Each chapter concludes with Summary.) I. LAYING THE FOUNDATION. 1. What's in a Name? COM. DCOM. MTS. Windows DNA. COM+. ActiveX. OLE. 2. Classes, Objects, and Interfaces. What is Object-Orientation? Classes. Objects. Interfaces. 3. Get on the Software Bus. Software Bus Problems. 4. Building Your First COM Object. The Simple Spell Checker. A Summary of the Steps. Creating a New DLL Project Using Visual C++. Creating a Custom Interface Using IDL. Declaring a C++ Class That Implements the COM Interface. Implementing the SpellChecker Interface. Creating a Class Object. Creating the Required DLL Entry-Points. Creating the Registration Functions. Creating a Client. 5. Making It Simple with ATL and Visual C++ COM Native Support. A Quick Introduction to ATL. The Writer's Component. Creating an ATL Project Using the ATL/COM AppWizard. Adding the Document Checker COM Class Using the ATL Object Wizard. Implementing ISpellChecker. Implementing IgrammarChecker. Creating a Client with Visual C++'s Native COM Support. II. DIGGING DEEPER. 6. Creating an Out-of-Process Server. Marshaling. Instancing. Class Object Registration. Registering an Out-of-Process Server. Building an Out-of-Process Server. A Summary of the Steps. 7. Automation. Defining Automation. Idispatch. Defining Idispatch Interfaces. Variants. Dual Interfaces. Building an Automation Server. A Summary of the Steps. COM Callbacks and Connectable Objects. Understand COM Callbacks/Events. Connectable Objects. Implementing Connection Points. The Connection Point Protocol. Your Multithreaded Stock Monitor Example. 9. COM Threading. Definitions and Background. Multi-Threading and COM. Implement Objects That Will Run in Any STA. Implement Objects That Will Run in the Primary STA. Implement Objects That Will Run in the MTA. Implement Objects That Will Run in the TNA. Compare the Different Threading Models: An Apartment Study. 10. Distributed COM. The Importance of DCOM. Location Transparency Revisited. Security. Example: Configuring a Server via DCOM. III. COM+. 11. An Introduction to the COM+ Architecture. Why Do You Need COM+? Application Architecture. The COM+ Solution. How It Works: The COM+ Architecture. Configure an Object to Use COM+. 12. An Introduction to the COM+ Services. Fine-Grained Security. Transactions. Scalabilty. Synchronization. Queued Components. Load Balancing. Compensating Resource Managers. 13. Building a 3-Tiered Application Using COM+ and Windows DNA 2000. What is the Windows DNA? The Windows DNA 2000. Creating Your First COM+ Application. The Publisher Example Program. Building the Publisher Example Application. Object Pooling. Deploying COM+ Application. Differences Between COM+ and MTS. Debugging with COM+. 14. Queued Components. What are Queued Components? Why Do You Need Queued Components? Microsoft Message Queue. Installing and Using MSMQ. Using Queued Components in Your Example Program. 15. COM+ Events. Why Do You Need COM+ Events? COM+ Events. Using Queued Components with Events. COM+ Events and Transactons. Filtering Events. Using COM+ Events in a Distributed Environment. Your COM+ Stock Monitoring Program. Index.

Key concepts: Computer science, Marshalling, Distributed Component Object Model, Component Object Model, Callback, Programming language, Operating system, Object (grammar)

Related papers

Back to paper searchBrowse research topicsOriginal source
The COM and COM+ programming primer Alan Gordon — Research Paper | ScholarLens