Page #99 (References)


Chapter 9. Message Queuing

So far, we have looked at how the COM/COM+ architecture helps us to build distributed and non-distributed applications. Under COM, remote method calls are based on RPC, which is a synchronous, connection-oriented communication mechanism. Any method call that is made gets blocked until a result is returned.

While a synchronous mode of operation fits the bill for many applications (and is certainly simple to use), there are cases where communicating asynchronously is more appropriate.

Microsoft Message Queue Server (MSMQ) provides an infrastructure for developing distributed components that can communicate with each other asynchronously via messages.

In this chapter, we examine the MSMQ architecture and see how highly scalable applications can be developed using MSMQ COM components. Then we examine Queued Components, a COM+ service built on top of MSMQ that simplifies application development by hiding all the details of MSMQ programming.

Those of you who are somewhat familiar with the MSMQ architecture can skip the first two sections and go straight to the section on MSMQ COM components.


COM+ Programming. A Practical Guide Using Visual C++ and ATL
COM+ Programming. A Practical Guide Using Visual C++ and ATL
ISBN: 130886742
Year: 2000
Pages: 129 © 2008-2017.
If you may any questions please contact us: