Understanding DCOM

Understanding DCOM

          
5
4
3
2
1

Out of Stock


Premium quality
Premium quality
Bookswagon upholds the quality by delivering untarnished books. Quality, services and satisfaction are everything for us!
Easy Return
Easy return
Not satisfied with this product! Keep it in original condition and packaging to avail easy return policy.
Certified product
Certified product
First impression is the last impression! Address the book’s certification page, ISBN, publisher’s name, copyright page and print quality.
Secure Checkout
Secure checkout
Security at its finest! Login, browse, purchase and pay, every step is safe and secured.
Money back guarantee
Money-back guarantee:
It’s all about customers! For any kind of bad experience with the product, get your actual amount back after returning the product.
On time delivery
On-time delivery
At your doorstep on time! Get this book delivered without any delay.
Notify me when this book is in stock
Add to Wishlist

About the Book

Finally, there's a book that cuts through Microsoft DCOM's complexity, and shows experienced C++ developers exactly how to build and deploy distributed applications with it. Raoul Rubin and Marshall Brain reduce DCOM to its essentials as a straightforward system for network communication. Using extensive examples and sample code, they demonstrate exactly how to brainstorm, organize, implement and test sophisticated DCOM-based distributed applications. Understand the relationship of DCOM to COM, OLE and competing approaches such as CORBA; learn how to create DCOM servers and clients; use threading models, connection points and Singleton objects; and test your DCOM servers. Understand how DCOM's elements fit together, including DCOM objects, GUID, Proxy/stubs, servers and interfaces; compare implementation with the Win32 API, MFC and ATL; learn the differences between DCOM implementation in Win95/98 and NT; and more.

Table of Contents:
1. Basics of COM. Classes and Objects. How COM Is Different. COM can Run Across Processes. COM Methods Can Be Called Across a Network. COM Objects Must Be Unique Throughout the World . COM is Language Indpendent. COM Vocabulary. The Interface. Interfaces Isolate the Client From the Server. Imagine a Component. What's in a Name? The Source of All Interfaces - Iunknown. A Typical COM Object. How to Be Unique - the GUID. A COM Server. Interactions Between Client and Server. Summary. 2. Understanding the Simplest COM Client. Four Steps to Client Connectivity. Initializing the COM Subsystem. Query COM for a Specific Interface. Execute a Method on the Interface. Release the Interface. Summary. 3. Understanding a Simple COM Server. Where's the Code? Building a DLL-Based (In-Process) COM Server. Creating the Server Using the ATL Wizard. Adding a COM Object. Adding a Method to the Server. Running the Client and the Server. Summary. 4. Creating your own COM Clients and Servers. Server Side. Client Side. 5. Understanding ATL-Generated Code. The Main C++ Module. Object Maps. Export File. The COM Object - "CBeepObj". Object Inheritance. The Class Definition. The Method. Server Registration. Registry Scripts. Summary. 6. Understanding the Client and Server. Principles of COM. COM is About Interfaces. COM is Language-Independent. COM is Built Around the Concept of Transparency. Interfaces are Contracts Between the Client and Server. Software Changes. Interfaces Don't. Activation. More About Interfaces. VTABLES - Virtual Function Tables. The Class Factory. Singleton Classes. Understanding QueryInterface. Reference Counting with AddRef and Release. Method Calls. COM Identifiers: CLSID AND IID. CLSCTX -- Server Context. Inheritance. Summary. 7. An Introduction to MIDL. Origins of the MIDL Compiler. Precisely Defining Interfaces with the IDL Language. MIDL Generated Headers. Automatically Generated Proxy/Stub Modules. Automatic Creation of Type Libraries. The IDL Language. Interfaces and Methods in IDL. The Component Class in IDL. Type Libraries in IDL. MIDL Post-Processing. Summary. 8. Defining and Using Interfaces. Base Types. Attributes. Double Parameters. Boolean Parameters. Working with Strings. Arrays. Structures and Enumerations. Summary. 9. OLE Automation and Dual Interfaces. IDL Definitions. The IDispatch Interface. Using Invoke. Using Type Libraries for Early Binding. Dual Interfaces. There is no Proxy/Stub DLL for Dispatch Interfaces. Properties. Adding Properties with the Class Wizard. Methods. The ISupportErrorInfo Interface. Summary. 10. COM Threading Models. Synchronization and Marshaling. Threading Models. Apartment, Free, and Single Threads. The ATL Wizard and Threading Models. Apartment Threads. Single Threads. Free Threaded Servers. Both. Marshaling Between Threads. Using Apartment Threads. Free Threading Model. Testing the Different Models. Summary. 11. The COM Registry. The COM Registry Structure. Registration of CLSIDs. Registration of ProgIDs. Registration of AppIDs. Self-Registration in ATL Servers. The RGS File. Automatic Registration of Remote Servers. In-Process Servers. Using the Registry API. Summary. 12. Callback Interfaces. Client and Server Confusion. Custom Callback Interfaces. A Callback Example. Create the Server. Add a COM Object to the Server. Adding the ICallBack Interface to IDL. Modify the Header. Adding the Advise Method to the Server. Adding the UnAdvise Method. Calling the Client from the Server. Create the Client Dialog Application. Adding the Callback COM Object. Linking to the Server Headers. COM Maps. Implementing the Callback Method. Adding the Object Map. Connecting to the Server. Cleaning Up. Adding the OnButton Code. A Chronology of Events. A Multi-Threaded Server. Starting the Worker Thread. Marshaling the Interface Between Threads. Starting the Worker Thread: Part 2. A Simple Worker Thread Class. Implementing the Worker Thread. All Good Threads Eventually Die. Summary. 13. Connection Points. Modifying the Callback Server. Adding Connection Points to the Client Program. Add the Callback Object to the Client. Modifying the CpClient Application. Registering With the Server's Connection Point Interface. Adding the Now and Later Buttons. Using the Connection Point - the Server Side. Adding the Later2 Method. Summary. 14. Distributed COM. An Overview of Remote Connections. Converting a Client for Remote Access. Adding Security. Security Concepts. Access Permissions. Launch Permissions. Authentication. Impersonation. Identity. Custom Security. CoInitializeSecurity. Disconnection. Using the Registry for Remote Connections. Installing the Server on a Remote Computer. 15. ATL and Compiler Support. C++ SDK Programming. MFC COM. ATL - The Choice for Servers. Basic Templates. A Simple Template Example. Template Classes. Native Compiler Directives. The #IMPORT Directive. Namespace Declarations. Smart Interface Pointers. Smart Pointer Classes. Watch Out for Destructors. Smart Pointer Error Handling. How the IMPORT Directive Works. Raw and Wrapper Methods. Summary. 16. Other Topics. Errors. Information Code. Facility Code. Customer Code Flag and Reserved bits. Severity Code. Looking Up HRESULTS. SCODES. Displaying Error Messages. Using FormatMessage. Aggregation and Containment. Building a COM Object with MFC. Adding Code for the Nested Classes. Accessing the Nested Class. Appendix. Index.


Best Sellers


Product Details
  • ISBN-13: 9780130959669
  • Publisher: Pearson Education (US)
  • Publisher Imprint: PRENTICE HALL
  • Height: 235 mm
  • No of Pages: 320
  • Weight: 675 gr
  • ISBN-10: 0130959669
  • Publisher Date: 10 Dec 1998
  • Binding: SA
  • Language: English
  • Spine Width: 24 mm
  • Width: 180 mm


Similar Products

How would you rate your experience shopping for books on Bookswagon?

Add Photo
Add Photo

Customer Reviews

REVIEWS           
Click Here To Be The First to Review this Product
Understanding DCOM
Pearson Education (US) -
Understanding DCOM
Writing guidlines
We want to publish your review, so please:
  • keep your review on the product. Review's that defame author's character will be rejected.
  • Keep your review focused on the product.
  • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
  • Refrain from mentioning competitors or the specific price you paid for the product.
  • Do not include any personally identifiable information, such as full names.

Understanding DCOM

Required fields are marked with *

Review Title*
Review
    Add Photo Add up to 6 photos
    Would you recommend this product to a friend?
    Tag this Book
    Read more
    Does your review contain spoilers?
    What type of reader best describes you?
    I agree to the terms & conditions
    You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

    CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

    These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Bookswagon (the "CRR Service").


    By submitting any content to Bookswagon, you guarantee that:
    • You are the sole author and owner of the intellectual property rights in the content;
    • All "moral rights" that you may have in such content have been voluntarily waived by you;
    • All content that you post is accurate;
    • You are at least 13 years old;
    • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
    You further agree that you may not submit any content:
    • That is known by you to be false, inaccurate or misleading;
    • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
    • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
    • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
    • For which you were compensated or granted any consideration by any unapproved third party;
    • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
    • That contains any computer viruses, worms or other potentially damaging computer programs or files.
    You agree to indemnify and hold Bookswagon (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


    For any content that you submit, you grant Bookswagon a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Bookswagon may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy


    All content that you submit may be used at Bookswagon's sole discretion. Bookswagon reserves the right to change, condense, withhold publication, remove or delete any content on Bookswagon's website that Bookswagon deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Bookswagon does not guarantee that you will have any recourse through Bookswagon to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Bookswagon reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Bookswagon, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Bookswagon, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

    Accept

    New Arrivals


    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!
    ASK VIDYA