Pro MSMQ: Microsoft Message Queue Programming
暫譯: Pro MSMQ: 微軟訊息佇列程式設計

Arohi Redkar, Ken Rabold, Richard Costall, Scot Boyd, Carlos Walzer

  • 出版商: Apress
  • 出版日期: 2004-07-06
  • 售價: $1,930
  • 貴賓價: 9.5$1,834
  • 語言: 英文
  • 頁數: 448
  • 裝訂: Paperback
  • ISBN: 1590593464
  • ISBN-13: 9781590593462
  • 海外代購書籍(需單獨結帳)

買這商品的人也買了...

商品描述

Description:

Foreword by Yoel Arnon, MSMQ Software Development Engineer, Microsoft Corporation

No application is an island…In today’s connected world, each and every professional developer must assume that his or her applications will need to communicate with other applications.

Distributed applications, however, present a large set of unique challenges, like, What do I do when the network is disconnected? How do I coordinate the actions of two separate applications? How do I handle peak times? How do I guarantee delivery? How do I upgrade my application without breaking the communication?

We at the Microsoft Message Queue (MSMQ) team have worked hard to provide an elegant solution to these questions and many others. This book will help you leverage this work by using MSMQ in your distributed applications so that you will be able to concentrate on the business logic rather than network problems.

What is MSMQ? MSMQ is message-oriented middleware (MOM) that comes as a standard component of Windows and allows applications to exchange messages among them using queues—outgoing queues for messages waiting to be sent, and incoming queues for messages waiting to be received. Queues—like dams—guarantee nice and controlled flow of information, even when the network is congested or suffers frequent disconnects.

Moreover, queues are a very natural programming metaphor. Most people would agree that working from a queue of to-do tasks is more effective than responding to requests on the spot. The same is true for computer programs. Programs that process queues of incoming messages tend to be simpler and more efficient than programs acting on interrupts.

The availability of powerful, yet simple, MOMs like MSMQ on millions of desktops and servers have changed the way programmers design and write distributed applications. The simple concepts of queue and message—along with powerful features like quality of service, transactions, and security—have enabled a new breed of distributed applications in a wide range of industries. In addition, MSMQ provides an excellent solution for integrating existing applications—for the Internet or for enterprise-wide systems like ERP.

Even after nine years on the MSMQ team, I am amazed to see the number of ways customers use this technology: in airlines and communication, financial services, e-retailers, traditional department stores, and even online games.

In addition to covering the essentials of MSMQ, this book is the first book covering the cool new features introduced in MSMQ 3.0 (which was released as part of Windows XP and Windows Server 2003) — features such as multicast, triggers, HTTP messages, and more. In addition, it is the first book covering the novel .NET MSMQ APIs: System.Messaging.

Today, MSMQ knowledge became a standard requirement for a professional Windows developer, alongside such skills as Visual Basic, Visual C/C#, SQL/IIS/ADO/COM+, and others. Reading this book is a great way to get started.

If you consider yourself a professional Windows developer, and you know that no application is an island any longer, then this book is for you.

I am proud to be a part of the revolution MSMQ brought to the Windows application development world. I hope that you will enjoy using MSMQ as much as I—together with the other MSMQ team members—enjoyed developing it.

Yoel Arnon Software Development Engineer Microsoft Corporation

About the Book

This book explores MSMQ so that you can initiate robust, asynchronous communication between applications. MSMQ provides three APIs to incorporate message queuing into different applications. These APIs include "C" from unmanaged C/C++ code; a COM component from VB or C++ code; and the System.Messaging namespace, which integrates MSMQ with managed C# or VB .NET applications.

This is the only book on the market to cover all three APIs. Plus, this book discusses the newest features of MSMQ 3.0 (released with Windows Server 2003), and explains sending and receiving MSMQ messages on a PocketPC device.

 

Table of Contents:

Chapter 1: Introducing Message Queuing
Chapter 2: System.Messaging
Chapter 3: Administration
Chapter 4: Transactional Messaging
Chapter 5: MSMQ Triggers
Chapter 6: MSMQ COM and Win32 API
Chapter 7: MSMQ 3.0
Chapter 8: MSMQ on Pocket PC
Index

商品描述(中文翻譯)

**描述:**

**前言** 由 Yoel Arnon,MSMQ 軟體開發工程師,微軟公司

沒有任何應用程式是孤立的……在當今互聯網連接的世界中,每位專業開發人員都必須假設其應用程式需要與其他應用程式進行通信。

然而,分散式應用程式帶來了一系列獨特的挑戰,例如:當網路斷開時我該怎麼辦?我如何協調兩個獨立應用程式的行為?我如何處理高峰時段?我如何保證消息的送達?我如何在不破壞通信的情況下升級我的應用程式?

我們微軟消息佇列(MSMQ)團隊努力提供這些問題及其他許多問題的優雅解決方案。本書將幫助您利用 MSMQ 在您的分散式應用程式中,讓您能夠專注於業務邏輯,而不是網路問題。

什麼是 MSMQ?MSMQ 是一種面向消息的中介軟體(MOM),作為 Windows 的標準組件,允許應用程式之間通過佇列交換消息——發送佇列用於等待發送的消息,接收佇列用於等待接收的消息。佇列——就像水壩——保證了信息的良好和可控流動,即使在網路擁擠或經常斷開的情況下。

此外,佇列是一種非常自然的程式設計隱喻。大多數人會同意,從待辦任務的佇列中工作比即時回應請求更有效。對於計算機程式來說也是如此。處理進入消息佇列的程式往往比基於中斷的程式更簡單且更高效。

強大而簡單的 MOM,如 MSMQ,在數百萬台桌面和伺服器上的可用性改變了程式設計師設計和編寫分散式應用程式的方式。佇列和消息的簡單概念——加上質量服務、事務和安全性等強大功能——使得各行各業出現了新型的分散式應用程式。此外,MSMQ 為整合現有應用程式提供了出色的解決方案——無論是針對互聯網還是企業範圍內的系統,如 ERP。

即使在 MSMQ 團隊工作了九年,我仍然驚訝於客戶使用這項技術的多種方式:在航空公司和通信、金融服務、電子零售商、傳統百貨公司,甚至在線遊戲中。

除了涵蓋 MSMQ 的基本知識外,本書還是第一本涵蓋 MSMQ 3.0 中引入的新功能的書籍(該版本隨 Windows XP 和 Windows Server 2003 發佈)——如多播、觸發器、HTTP 消息等。此外,它還是第一本涵蓋新穎的 .NET MSMQ API:System.Messaging 的書籍。

如今,MSMQ 知識已成為專業 Windows 開發人員的標準要求,與 Visual Basic、Visual C/C#、SQL/IIS/ADO/COM+ 等技能並列。閱讀本書是開始的好方法。

如果您認為自己是一位專業的 Windows 開發人員,並且知道沒有任何應用程式再是孤立的,那麼這本書就是為您而寫的。

我為能成為 MSMQ 帶來的 Windows 應用程式開發革命的一部分而感到自豪。我希望您能像我一樣享受使用 MSMQ,與其他 MSMQ 團隊成員一起享受開發的過程。

Yoel Arnon 軟體開發工程師 微軟公司

**關於本書**

本書探討 MSMQ,以便您能夠在應用程式之間啟動穩健的非同步通信。MSMQ 提供三個 API 以將消息佇列整合到不同的應用程式中。這些 API 包括來自非管理 C/C++ 代碼的 'C';來自 VB 或 C++ 代碼的 COM 組件;以及將 MSMQ 與受管理的 C# 或 VB .NET 應用程式整合的 System.Messaging 命名空間。

這是市場上唯一涵蓋所有三個 API 的書籍。此外,本書還討論了 MSMQ 3.0(隨 Windows Server 2003 發佈)的最新功能,並解釋了如何在 PocketPC 設備上發送和接收 MSMQ 消息。

**目錄:**

第 1 章:介紹消息佇列
第 2 章:System.Messaging
第 3 章:管理
第 4 章:事務性消息
第 5 章:MSMQ 觸發器
第 6 章:MSMQ COM 和 Win32 API
第 7 章:MSMQ 3.0
第 8 章:在 Pocket PC 上的 MSMQ
索引

最後瀏覽商品 (20)