£27.99
FREE Delivery in the UK.
Only 1 left in stock.
Dispatched from and sold by Amazon.
Gift-wrap available.
Have one to sell?
Flip to back Flip to front
Listen Playing... Paused   You're listening to a sample of the Audible audio edition.
Learn more
See this image

Effective COM: 50 Ways to Improve Your COM and MTS-based Applications (Object Technology Series) Paperback – 3 Dec 1998


See all formats and editions Hide other formats and editions
Amazon Price New from Used from
Paperback
"Please retry"
£27.99
£15.43 £0.12

Frequently Bought Together

Effective COM: 50 Ways to Improve Your COM and MTS-based Applications (Object Technology Series) + Essential COM
Price For Both: £53.97

Buy the selected items together


Product details

  • Paperback: 240 pages
  • Publisher: Addison Wesley; 1 edition (3 Dec 1998)
  • Language: English
  • ISBN-10: 0201379686
  • ISBN-13: 978-0201379686
  • Product Dimensions: 19 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: 262,653 in Books (See Top 100 in Books)
  • See Complete Table of Contents

More About the Authors

Discover books, learn about writers, and more.

Product Description

Amazon Review

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

Inside This Book (Learn More)
Browse Sample Pages
Front Cover | Copyright | Table of Contents | Excerpt | Index | Back Cover
Search inside this book:

What Other Items Do Customers Buy After Viewing This Item?

Customer Reviews

4.9 out of 5 stars
5 star
9
4 star
1
3 star
0
2 star
0
1 star
0
See all 10 customer reviews
Share your thoughts with other customers

Most Helpful Customer Reviews

1 of 1 people found the following review helpful By A Customer on 16 Jan 1999
Format: Paperback
If you are a COM developer, you must have this book. These guys not only present information that you need to know to work with COM rather than against it, they also tell you how your world will fall apart if you don't follow their recommendations.
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."
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
1 of 1 people found the following review helpful By A Customer on 1 Feb 1999
Format: Paperback
This book doesn't lay out the technology, but it explains what works, what doesn't, and why. This is the type of info that's really missing in today's technology manuals. Also, each point basically explaines the technology before going into how it should be properly used. So this is a good read even for those who don't completely understand COM backwards and forwards.
Also, if you're writing code to make a cat or a bird bark like a dog, this is the book.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
By A Customer on 22 Jan 1999
Format: Paperback
The team at DevelopMentor has done it again! It's no wonder why their training company is so highly regarded when you look at the quality of information that that team generates! I want to personally thank the each one of these authors for putting together this long-awaited, fine text!
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!
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
By A Customer on 11 Mar 1999
Format: Paperback
This is an outstanding summary of diverse COM design and implementation guidelines. This is the only source of information currently available for mastering COM development beyond the basics. The information is presented in extremely concise form making it worth more than ten times its 200 pages. This book is a must for any professional component designer (as any COM developer should be). While not exactly a sequel to "Essential COM", this is in fact the next book to be read. It probably wasn't the main goal of the authors, but their description of security is the most comprehensive ever written so far.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
By A Customer on 7 April 1999
Format: Paperback
From the general to the specific on topic ranging from MTS to security to IDL, this book contains a set of 50 guidelines that will help any COM developer. Even though the book uses C++ as its' primary language to demonstrate implementation examples, any COM developer will gain a lot by reading this book no matter what language(s) they use (see Item 9 for a great VB code snippet). I only wish the authors wouldn't have stopped at 50 guidelines! (I'll keep my eyes out for "Esoteric COM" ;) )
Jason
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again


Feedback