Book Image

SOA Patterns with BizTalk Server 2009

By : Richard Seroter
Book Image

SOA Patterns with BizTalk Server 2009

By: Richard Seroter

Overview of this book

SOA is about architecture, not products and SOA enables you to create better business processes faster than ever. While BizTalk Server 2009 is a powerful tool, by itself it cannot deliver long-lasting, agile solutions unless we actively apply tried and tested service-oriented principles. The current BizTalk Server books are all for the 2006 version and none of them specifically looks at how to map service-oriented principles and patterns to the BizTalk product. That's where this book fits in. In this book, we specifically investigate how to design and build service-oriented solutions using BizTalk Server 2009 as the host platform. This book extends your existing BizTalk knowledge to apply service-oriented thinking to classic BizTalk scenarios. We look at how to build the most reusable, flexible, and loosely-coupled solutions possible in the BizTalk environment. Along the way, we dive deeply into BizTalk Server's integration with Windows Communication Foundation, and see how to take advantage of the latest updates to the Microsoft platform. Chock full of dozens of demonstrations, this book walks through design considerations, development options, and strategies for maintaining production solutions.
Table of Contents (18 chapters)
SOA Patterns with BizTalk Server 2009
Credits
About the author
About the reviewers
Preface
Index

Using SQL Server Query notification


While database polling is certainly a sufficient way to learn about database changes, it is inherently fraught with inefficiency. In order to guarantee a timely processing of data, I have to set an aggressive polling window, which in turn means that there will be a measurable number of polling operations that return no results. In essence, the database acts as a passive store, which is constantly being harassed with "do you have anything yet" messages. Isn't there a better way?

Enter Query Notification which is a capability now supported by the WCF SQL Server adapter in concert with SQL Server 2008. Query notification is a means for the database server (through the use of SQL Server Service Broker) to communicate state changes to subscribers as they occur. So instead of asking for changes, the database tells you when a particular condition has been detected.

Yet again, we head to the Consume Adapter Service wizard to generate schemas. Like the previous demonstration...