or
Sign in to turn on 1-Click ordering.
More Buying Choices
Have one to sell? Sell yours here
Sorry, this item is not available in
Image not available for
Colour:
Image not available

 
Tell the Publisher!
Id like to read this book on Kindle

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Effective COM: 50 Ways to Improve Your COM and MTS-based Applications (Object Technology Series) [Paperback]

Don Box , Keith Brown , Tim Ewald , Chris Sells
4.9 out of 5 stars  See all reviews (10 customer reviews)
RRP: 28.99
Price: 25.71 & FREE Delivery in the UK. Details
You Save: 3.28 (11%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
Only 1 left in stock.
Dispatched from and sold by Amazon. Gift-wrap available.
Want it Friday, 25 July? Choose Express delivery at checkout. Details

Book Description

3 Dec 1998 0201379686 978-0201379686 1

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.

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.


Frequently Bought Together

Effective COM: 50 Ways to Improve Your COM and MTS-based Applications (Object Technology Series) + Essential COM
Buy the selected items together
  • Essential COM 32.85


Product details

  • Paperback: 240 pages
  • Publisher: Addison Wesley; 1 edition (3 Dec 1998)
  • Language: English
  • ISBN-10: 0201379686
  • ISBN-13: 978-0201379686
  • Product Dimensions: 23.7 x 18.6 x 1 cm
  • Average Customer Review: 4.9 out of 5 stars  See all reviews (10 customer reviews)
  • Amazon Bestsellers Rank: 434,253 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:

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

What Other Items Do Customers Buy After Viewing This Item?


Customer Reviews

3 star
0
2 star
0
1 star
0
4.9 out of 5 stars
4.9 out of 5 stars
Most Helpful Customer Reviews
1 of 1 people found the following review helpful
5.0 out of 5 stars Very useful info, easy read. 1 Feb 1999
By A Customer
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?
1 of 1 people found the following review helpful
5.0 out of 5 stars Pure Gold for COM Developers 16 Jan 1999
By A Customer
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?
5.0 out of 5 stars 50 Great Tips/Practices for COM Development 7 April 1999
By A Customer
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?
5.0 out of 5 stars The second book for any COM developer 11 Mar 1999
By A Customer
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?
5.0 out of 5 stars Read in two hours, Saves hundreds 29 Jan 1999
By A Customer
Format:Paperback
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. Not only do the authors pin-point problems that COM programmers bump into on an everyday basis, but they also explain why it happens and what solutions to consider.
To be short, the one reason why you want to buy this book is that it most certainly will either solve or explain one of the problems you currently have, right at the moment you open it.
Comment | 
Was this review helpful to you?
Would you like to see more reviews about this item?
Were these reviews helpful?   Let us know

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 

Search Customer Discussions
Search all Amazon discussions
   


Look for similar items by category


Feedback