- Paperback: 240 pages
- Publisher: Pearson Technology Group; 1 edition (2 Feb. 2008)
- Language: English
- ISBN-10: 0201379686
- ISBN-13: 978-0201379686
- Product Dimensions: 18.8 x 1.5 x 23.4 cm
- Average Customer Review: 4.9 out of 5 stars See all reviews (10 customer reviews)
Amazon Bestsellers Rank:
30,475 in Books (See Top 100 in Books)
- #10 in Books > Business, Finance & Law > Management > Human Resources > Professional Development
- #20 in Books > Computers & Internet > Computer Science > Programming > Software Design, Testing & Engineering > Design Patterns
- #30 in Books > Computers & Internet > Computer Science > Programming > Microsoft Windows
- See Complete Table of Contents
Effective COM: 50 Ways to Improve Your COM and MTS-based Applications (Object Technology Series) Paperback – 2 Feb 2008
- Choose from over 13,000 locations across the UK
- Prime members get unlimited deliveries at no additional cost
- Find your preferred location and add it to your address book
- Dispatch to this address when you check out
Frequently Bought Together
Customers Who Bought This Item Also Bought
Enter your mobile number or email address below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.
To get the free app, enter your e-mail address or mobile phone number.
Effective COM opens with a chapter devoted to the migration from C++ to COM programming, presenting five "attitude shifts" that C++ coders need to undergo to program successfully with COM. It starts with a discussion of defining interfaces in the Interface Definition Language (IDL), and then moves on to a discussion of the unique distribution challenges of COM-based systems. The authors also discuss other differences, such as exception calls.
The next chapter presents tips pertaining to the all-important interfaces in COM. Both the big picture and some precise details are covered to help you implement your interfaces safely, as well as the implementations and the particular challenges that COM presents. The authors emphasise "defensive coding"--pointing out dangerous assumptions and offering suggestions for producing reliable components.
Apartments, security, and transaction management are addressed in succeeding chapters. As with the previous topics, they are handled via a series of specific tips and suggestions. If you're new to COM programming, you should read some more introductory texts first, but if you've already experienced your baptism by fire into the subject, this title can help ease future pain. --Stephen Plain, Amazon.com
From the Back Cover
In Effective COM, the authors, Don Box, Keith Brown, Tim Ewald, and Chris Sells, offer 50 concrete guidelines for creating COM based applications that are more efficient, robust, and maintainable. Drawn from the authors' extensive practical experience working with and teaching COM, these rules of thumb, pitfalls to avoid, and experience-based pointers will enable you to become a more productive and successful COM programmer.
These guidelines appear under six major headings: the transition from C++ to COM; interfaces, the fundamental element of COM development; implementation issues; the unique concept of apartments; security; and transactions. Throughout this book, the issues unique to the MTS programming model are addressed in detail. Developers will benefit from such insight and wisdom as:
- Define your interfaces before you define your classes (and do it in IDL)
- Design with distribution in mind
- Dual interfaces are a hack. Don't require people to implement them
- Don't access raw interface pointers across apartment boundaries
- Avoid creating threads from an in-process server
- Smart Interface Pointers add at least as much complexity as they remove
- CoInitializeSecurity is your friend. Learn it, love it, call it
- Use fine-grained authentication
- Beware exposing object references from the middle of a transaction hierarchy
- Don't rely on JIT activation for scalability
and much more invaluable advice.
For each guideline, the authors present a succinct summary of the challenge at hand, extensive discussion of their rationale for the advice, and many compilable code examples. Readers will gain a deeper understanding of COM concepts, capabilities, and drawbacks, and the know-how to employ COM effectively for high quality distributed application development. A supporting Web site, including source code, can be found at http://www.develop.com/effectivecom.
0201379686B04062001 See all Product Description
Inside This Book(Learn More)
What Other Items Do Customers Buy After Viewing This Item?
Top Customer Reviews
The section on security really impressed me (I had a hard time making it through the security chapter in Don Box's excellent first book but this book presented the subject in a way that made it accessible to me.)
In the preface to this book, the authors indicate that this book pays homage to Scott Meyer's "Effective C++." I hope they will continue following that model and give us "More Effective COM."
Also, if you're writing code to make a cat or a bird bark like a dog, this is the book.
When I'd finished my homework studying Don's Essential COM, reading this text, Effective COM, was a breeze. Effective COM truly helped button down some of the loose ends in my understanding. In Effective COM, the authors present the synchronicity resulting from various COM programming pitfalls. All of the intellectual heavy work has been done and is presented to the reader with clarity and conciseness. Along the way, the attentive reader is presented with many nuances employed by these COM experts. Rarely will you find such excellent coverage in a nutshell! I can not recommend this text anymore strongly!
Most Recent Customer Reviews
... but not as good as Essential COM. You can find most of the arguments detailed in Effective COM in other sources, and you don't need this book to write good COM component... Read morePublished on 5 April 2001
I met Don Box (the author) at the Microsoft Global Summit in New Orleans in 1998 and was impressed. It was interesting to see Microsoft personnel listening and learning from an... Read morePublished on 8 Aug. 1999
This is a book that seems too thin to be useful... at first glance ! I read it like a novel, started at first line and couldn't stop until it was finished. Read morePublished on 29 Jan. 1999
This is definitely a great book for those who have already made their first steps in COM programming. Read morePublished on 30 Dec. 1998
Look for similar items by category
- Books > Business, Finance & Law > Management > Human Resources > Professional Development
- Books > Business, Finance & Law > Management > Management Skills > Communication & Presentation
- Books > Computing & Internet > Digital Lifestyle > Online Shopping > Amazon
- Books > Computing & Internet > Networking & Security > Network Topics
- Books > Computing & Internet > Programming > Languages & Tools
- Books > Computing & Internet > Programming > Microsoft Windows
- Books > Computing & Internet > Programming > Software Design, Testing & Engineering > Design Patterns