Effective COM: 50 Ways to Improve Your COM and MTS-based Applications

Don Box,Keith Brown,Tim Ewald,Chris Sells

Effective COM: 50 Ways to Improve Your COM and MTS-based Applications
Format
Paperback
Publisher
Pearson Education (US)
Country
United States
Published
4 January 1999
Pages
240
ISBN
9780201379686

Effective COM: 50 Ways to Improve Your COM and MTS-based Applications

Don Box,Keith Brown,Tim Ewald,Chris Sells

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. Dont require people to implement them *Dont 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 *Dont 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.

This item is not currently in-stock. It can be ordered online and is expected to ship in approx 4 weeks

Our stock data is updated periodically, and availability may change throughout the day for in-demand items. Please call the relevant shop for the most current stock information. Prices are subject to change without notice.

Sign in or become a Readings Member to add this title to a wishlist.