Overview

DCOM -- the Distributed Component Object Model -- is a recent upgrade of a time-honored and well-tested technology promoted by Microsoft for distributed object programming. Now that components are playing a larger and larger part in Windows 98, Windows NT 4.0, and Windows 2000, every Windows programmer will want to understand the technology. DCOM competes with CORBA as a rich and robust method for creating expandable and flexible components, allowing you to plug in new parts conveniently and upgrade without the ...

See more details below
Learning DCOM

Available on NOOK devices and apps  
  • NOOK Devices
  • NOOK HD/HD+ Tablet
  • NOOK
  • NOOK Color
  • NOOK Tablet
  • Tablet/Phone
  • NOOK for Windows 8 Tablet
  • NOOK for iOS
  • NOOK for Android
  • NOOK Kids for iPad
  • PC/Mac
  • NOOK for Windows 8
  • NOOK for PC
  • NOOK for Mac
  • NOOK Study
  • NOOK for Web

Want a NOOK? Explore Now

NOOK Book (eBook)
$14.49
BN.com price
(Save 44%)$25.99 List Price

Overview

DCOM -- the Distributed Component Object Model -- is a recent upgrade of a time-honored and well-tested technology promoted by Microsoft for distributed object programming. Now that components are playing a larger and larger part in Windows 98, Windows NT 4.0, and Windows 2000, every Windows programmer will want to understand the technology. DCOM competes with CORBA as a rich and robust method for creating expandable and flexible components, allowing you to plug in new parts conveniently and upgrade without the need for code changes to every program that uses your component.


This book introduces C++ programmers to DCOM and gives them the basic tools they need to write secure, maintainable programs. While using Visual C++ development tools and wizards where appropriate, the author never leaves the results up to magic. The C++ code used to create distributed components and the communications exchanged between systems and objects are described at a level where the reader understands their significance and can use the insights for such tasks as debugging and improving performance.


The first few chapters explain both the remote procedure calls that underlie DCOM's communication and the way DCOM uses C++ classes. Readers become firmly grounded in the relation between components, classes, and objects, the ways objects are created and destroyed, how clients find servers, and the basics of security and threading.


After giving you a grounding in how DCOM works, this book introduces you to the Microsoft tools that make it all easy. By showing what really happens each time you choose a button in a wizard, Learning DCOM makes it possible for you to choose what you need.


This book is for anyone who wants to understand DCOM. While thoroughly practical in its goals, it doesn't stint on the background you need to make your programs safe, efficient, and easy to maintain.


Topics include:

  • MIDL (Microsoft Interface Definition Language, the language for defining COM interfaces)
  • COM error and exception handling
  • Custom, dispatch, and dual interfaces
  • Standard and custom factories
  • Management of in-process versus out-of-process servers
  • Distributed memory management
  • Pragmatic explanation of the DCOM wire protocol
  • Standard, custom, handler, and automation marshaling
  • Multithreading and apartments
  • Security at the system configuration and programming level
  • Active Template Library (ATL), ATL wizards -- and what they don't do
  • Writing a component that can be invoked from Visual Basic
  • Techniques for using distributed components
  • Creating an ActiveX control and embedding it in a Web client
  • Authentication and the use of Windows NT security features
  • Techniques for merging marshaling code
  • Connection and distributed events management
  • An introduction to COM+ features
Read More Show Less

Product Details

  • ISBN-13: 9781449308681
  • Publisher: O'Reilly Media, Incorporated
  • Publication date: 4/1/1999
  • Sold by: Barnes & Noble
  • Format: eBook
  • Edition number: 1
  • Pages: 504
  • File size: 5 MB

Meet the Author

Thuan L. Thai started computer programming 15 years ago but has never been tired with this hobby—one that he truly considers an art. He is currently a senior systems engineer at SAIC where he has led the architecture and development of several successful distributed and COM-based imaging systems. He also teaches Win32, MFC, and COM programming courses for Learning Tree International. Prior to all this, Thuan worked for AMS where he developed multi-tiered, object frameworks using C++ and RPC. He received his bachelor of science in computer science from the University of Virginia.

When not developing software, Thuan enjoys strumming his six strings and writing songs every now and then. He often plays 9-ball with the same buddies with whom he has played the game for over eight years. Thuan hopes to play more tennis, the only sport that he has ever played for more than eight hours in a single day.

Read More Show Less

Table of Contents

Preface

1. Distributed Computing
     Dumb Terminals
     Client/Server Computing
     Distributed Computing Using RPC
     Distributed Objects
     Distributed Components

2. Distributed COM Overview
     COM
     Distributed COM
     COM Facilities and Services
     Applying COM

3. Objects
     Interfaces
     Objects
     Class Factories

4. Components
     Servers
     Clients
     Object Orientation

5. Infrastructure
     Memory
     Transparency
     Concurrency
     Security

6. Building Components with ATL
     Creating a Component
     Adding an Object
     The Generated Code
     Common Responsibilities
     Finishing Up

7. Using COM Objects
     Simple Client
     The COleDispatchDriver Technique
     The #import Technique
     The Manual Technique
     The Reusable echnique
     Review

8. COM in Cyberspace
     ATL ActiveX Controls
     Web-Enabled Clients
     MFC Composites
     ATL Composites
     ActiveX Control Properties

9. Applying Security
     Server-Side COM Security
     Access Token
     Audit Trail
     Administrative Alert
     Client-Side Security

10. Connecting Objects
     Object Reference
     Referrers
     Connection Points
     Event Sources
     Event Sinks
     Performance Impact of Connection Points
     Security Impact of the OBJREF

A. Debugging Techniques

B. Performance

C. New COM Features and COM+

D. Hello, Universe!

Index

Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star

(0)

4 Star

(0)

3 Star

(0)

2 Star

(0)

1 Star

(0)

Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

 
Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously

    If you find inappropriate content, please report it to Barnes & Noble
    Why is this product inappropriate?
    Comments (optional)