Learning DCOM
By Thuan L. Thai
Publisher: O'Reilly Media
Released: April 1999
Pages: 504

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
Table of Contents
Product Details
Colophon
Recommended for You
Customer Reviews

REVIEW SNAPSHOT®

by PowerReviews
O'Reilly MediaLearning DCOM
 
4.0

(based on 8 reviews)

Ratings Distribution

  • 5 Stars

     

    (1)

  • 4 Stars

     

    (6)

  • 3 Stars

     

    (1)

  • 2 Stars

     

    (0)

  • 1 Stars

     

    (0)

Reviewed by 8 customers

Sort by

Displaying reviews 1-8

Back to top

 
4.0

Learning DCOM Review

By venyog

from Undisclosed

Comments about O'Reilly Media Learning DCOM:

This book covers lot of details that were left out for the magic of the compiler or to be faced at the time of building application in real life.

The coverage and the depth of material provided is really good.

I have read lot of books from other COM and DCOM writers, but consider this as comparable to the very good and easy to grasp ones.

 
4.0

Learning DCOM Review

By Danny Shimony

from Undisclosed

Comments about O'Reilly Media Learning DCOM:

A very good start point,

to all people who still use old fashion programming.

Very usefull examples.

More special info about ActiveX, will be grate.

 
4.0

Learning DCOM Review

By perl boy

from Undisclosed

Comments about O'Reilly Media Learning DCOM:

Well, I thought this book was a real good one. It took me a couple of days to

really understand key concepts of it. Well, I get the idea that dcom is more

easier to use then corba which I am familar with. Well, this book made me run back to the book store and purchase mfc. Now my next goal is to learn com+

 
4.0

Learning DCOM Review

By Chris Holt

from Undisclosed

Comments about O'Reilly Media Learning DCOM:

A really, very good book. Don't buy this book to learn COM. You should already have a good understanding. Buy this book to learn exactly what the title says "DCOM".

I would like to see the author write a similar book on COM+.

 
4.0

Learning DCOM Review

By Henry Choy

from Undisclosed

Comments about O'Reilly Media Learning DCOM:

For the (aspiring) COM user this is a good book. It really lets you see why and how at the user level. It isn't very deep when talking about custom COM though. Standard COM is thoroughly covered.

For those of us who want to use COM at the grassroots C++ level, this is a book to have. People who want to use COM in other languages - it's so easy you don't need a book!

Mr. Thuan L. Thai, you are one verbose man. I like your desire to explain. You have this attention to detail. Just don't repeat yourself three times everywhere. It looks like you wrote the book in a very modular way. Very component like! Each module begins with a topic statement, then discusses the topic, and then cleans up. That's fine, but when you don't develop these modules in order, yet put them all together like a big jigsaw puzzle, well, you know what comes out. It works when you're programming, but it's disturbing in prose. I know, because after reading your book, I'm really disturbed.

 
4.0

Learning DCOM Review

By Danny Shimony

from Undisclosed

Comments about O'Reilly Media Learning DCOM:

This book made me love more the DCOM thecnology,

I hope another book in this format, wiil be writeen about COM+.

 
3.0

Learning DCOM Review

By Dave Hinton

from Undisclosed

Comments about O'Reilly Media Learning DCOM:

This book gives you lots of information. I found I had to reread it

several times to understand everything fully.

This is what I dislike about the book:



Occasionally it will refer you towards standards documents for more

information on an interface, but not mention where this can be found.

It uses an imaginary OCR application with made-up interfaces for all its examples.

I feel it would make things easier to relate to the real world if it used

real world interfaces (say, showing how to automate and be automated, perhaps).



Overall, I feel it is worth the money I paid for it, even though it is not

as easy to follow as other O'Reilly books I have read.

 
5.0

Learning DCOM Review

By kabrit

from Undisclosed

Comments about O'Reilly Media Learning DCOM:

I didn't not know all I needed to know about come when I started this book, but by the time you get to chapter 6 you are well versed in the principles and concepts of COM and DCOM. The only short fall of this book is that it packs so much information into the first 6 chapters that you don't really see the whole picture until you start writing com objects. And because it is in c++ you start off with a hard language that will make all the others look easy. Get this book you will not be sorry. Makes an incrediblely great reference guide.

Displaying reviews 1-8

Back to top

 
Buy 2 Get 1 Free Free Shipping Guarantee
Buying Options
Immediate Access - Go Digital what's this?
Ebook: $25.99
Formats:  DAISY, ePub, Mobi, PDF