Design Considerations

Now that you understand COM+ transactions, consider some of the critical design issues involved with COM+ transactional component construction. We’ll cover the following points:

  • Choosing fine-grain components

  • Locating components close to their data source

  • Putting components that share resources together in the same application

Choosing Fine-Grained Components

Don’t maintain transactions across method calls. Objects operating at a granularity of one transaction per method call perform much better than coarser-grained components. Requiring several client method calls to complete an operation produces objects that scale poorly because transaction resources (DTC Transaction objects, Database connections, COM+ object state, and ...

Get Special Edition Using® Microsoft® ASP.NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.