Synopses & Reviews
The importance of a book like COM+ Programming with Visual Basic lies in the fact that the Visual Basic programming environment is designed to hide as many low-level system details as possible. While this approach can speed development time by letting you focus on the task at hand, it actually hinders the process when it obscures details you need to understand or control. Such is often the case for programmers who are developing components that take advantage of COM+ services. COM+ Programming with Visual Basic takes aim squarely at the information needs of these developers.For instance, despite the marketing hype about COM+ as the new and improved version of COM, classic COM is very much the foundation on which COM+ is built: COM+ components are a particular kind of COM component. Visual Basic hides almost all COM implementation details; yet it is precisely in the area of COM+ programming that these hidden details are most important. Therefore, we've devoted significant content to exploring COM internals:
- Interface-based programming
- How COM interfaces work internally
- How COM components are activated
- How versioning COM components works in Visual Basic
The second section focuses on incorporating individual COM+ services, like transaction support, security, and asynchronous operations, into applications. The author concludes by discussing what you need to learn to transition to Microsoft's coming .NET framework.Regardless of what lies ahead for .NET, many distributed systems are being built today with COM+.
COM+ Programming with Visual Basic focuses on topics relevant to distributed applications that are here to stay:
- How to use interfaces
- Passing objects by reference or by value
- What it means to have multithreaded applications
- How declarative programming works
- How to program within a distributed transaction
- How to add role-based security to applications
There's simply no other documentation available for much of what's in
COM+ Programming with Visual Basic. It's destined to be the resource behind the most robust, efficient, high-performance COM+ applications.
Synopsis
The first part of this book focuses on information for creating efficient COM+ applications. The second focuses on using individual services like transaction support and security into applications.
Synopsis
The importance of a book like COM+ Programming with Visual Basic lies in the fact that the Visual Basic programming environment is designed to hide as many low-level system details as possible. While this approach can speed d
About the Author
Jose Mojica is an instructor and researcher at DevelopMentor, a company that's gained an international reputation for its experience with COM and COM+. He teaches various courses that focus on enterprise development in COM+, IIS, .NET, and Visual Basic. Before joining DevelopMentor, Jose was a consultant at IBM, writing DCOM servers that performed speech recognition and creating ActiveX controls in ATL for the ViaVoice SDK. He has worked with Visual Basic since Version 1.0. Jose is the author of Building ActiveX Controls with Visual Basic 5.0 and coauthor of Programming Internet Controls and Distributed Applications for Visual C++ 6.0 MCSD Training Kit.
Table of Contents
Preface; Who This Book Is For; How This Book Is Organized; Obtaining The Sample Code; Conventions Used in This Book; How to Contact Us; Acknowledgments; Chapter 1: COM+ Internals; 1.1 What Is COM+?; 1.2 COM and COM+; 1.3 Knowing the Internals; 1.4 Introduction to .NET; Chapter 2: Interface-Based Programming; 2.1 Why Interface-Based Programming?; 2.2 Defining Interfaces in Visual Basic; 2.3 Using a Class Through an Interface; 2.4 Polymorphism I (Multiple Components--Single Interface); 2.5 Polymorphism II (Single Component--Multiple Interfaces); 2.6 Review; Chapter 3: How Interfaces Work Internally; 3.1 Life Without Interfaces; 3.2 Memory Layout of Interfaces; 3.3 COM as a Binary Standard; 3.4 Type Libraries; 3.5 COM Standard Interfaces: IUnknown and IDispatch; 3.6 Summary; Chapter 4: In-Process Servers; 4.1 Client-Server Communication: A High-Level View; 4.2 Client-Server Communication: A Low-Level View; Chapter 5: Out-of-Process Servers and COM's Remoting Architecture; 5.1 ActiveX EXEs; 5.2 Threads; 5.3 Remoting and Location Transparency; 5.4 Pinging Mechanism; 5.5 Summary; Chapter 6: Versioning; 6.1 The Goal of COM Versioning; 6.2 Client Requirements; 6.3 COM's Versioning Story; 6.4 How Visual Basic Versions Your COM Objects; 6.5 Using IDL; 6.6 Summary; Chapter 7: COM+ Applications; 7.1 Creating a COM+ Application; 7.2 Services Overview; 7.3 COM+ Administration Components; 7.4 Summary; Chapter 8: Writing and Debugging COM+ Code; 8.1 COM+ Architecture; 8.2 Debugging COM+ Applications; Chapter 9: Transaction Services; 9.1 What Is a Transaction?; 9.2 Declarative Transactions; 9.3 Summary; Chapter 10: COM+ Security; 10.1 Security Terminology; 10.2 RPC Security; 10.3 COM/COM+ Security; 10.4 Internet-Based Security; 10.5 Summary; Chapter 11: Introduction to .NET; 11.1 The .NET Architecture; 11.2 Developing Assemblies; 11.3 VB.NET Features; 11.4 Mixing COM+ and .NET; 11.5 Using COM+ Services; 11.6 Summary; Colophon;