Understanding COM+ (Developer Technology) by David S. Platt

By David S. Platt

During this ebook, Dave Platt walks you thru COM+ 1.0, utilizing a pleasant and refreshingly constant top-down method of function, notion, and code. Dave has drawn largely on his «roll your individual» reviews and provides a variety of anecdotes in regards to the shortcomings of this method, motivating his «Let cross and permit COM+» suggestion. Dave has researched COM+ rigorously, either on his personal and with the aid of the COM+ product workforce. This publication is a must-read for managers and builders who are looking to comprehend and enforce a very good software with COM+ as their silent companion.

Show description

Read Online or Download Understanding COM+ (Developer Technology) PDF

Best microprocessors & system design books

Designing Embedded Systems with PIC Microcontrollers: Principles and Applications

This ebook is a hands-on creation to the foundations and perform of embedded process layout utilizing the PIC microcontroller. full of priceless examples and illustrations, it provides an in-depth remedy of microcontroller layout, programming in either meeting language and C, and lines complex themes reminiscent of networking and real-time working structures.

Logic and Language Models for Computer Science

This article makes in-depth explorations of a huge variety of theoretical themes in machine technology. It plunges into the purposes of the summary suggestions with the intention to confront and tackle the skepticism of readers, and instill in them an appreciation for the usefulness of concept. A two-part presentation integrates common sense and formal language—both with purposes.

Extra info for Understanding COM+ (Developer Technology)

Example text

40 Threading Apartments Threading Apartments 41 Figure 2-24 A registry entry specifying the component's apartment requirements. The Both entry is misnamed; it really should be called Either. It tells COM that the object doesn't give a hoot which apartment it lives in: it is equally at home in an intimate studio with one thread or in the bunkroom with everyone. An object with this ThreadingModel entry is always created in the apartment of its creating thread. The component can specify which type of apartment it can live in, but it is up to COM to figure out at creation time exactly which apartment of that type the object will live in and which type of connection to the object, direct or marshaled, its creator will receive.

Thus only two outcomes of a transaction 46 Solution Architecture Simplest Transaction Example 47 would be possible—complete success or total failure. This approach is better than the previous example because the components are much, much easier to write—they don't have to know what any of the others are doing, just how to report to the DTC if they themselves are happy or sad. The DTC knows which other objects are participating in the transaction and coordinates the results among them. No one has to deal with intermediate failure states.

The IsSecurityEnabled method will tell you whether role-based security is turned on and the IsCallerInRole method will tell you whether the base client is a member of the role you specify. 34 Security Security 35 Figure 2-19 The process of programmatic role checking in COM+. Table 2-6 Selected ISecurityCallContext Interface Methods Method Description IsCallerInRole Indicates whether the direct caller of an object method is a member of the specified role IsSecurityEnabled Indicates whether COM+ security is turned on for this object The ISecurityCallContext interface also provides much more extensive security information.

Download PDF sample

Rated 4.52 of 5 – based on 38 votes