rent-now

Rent More, Save More! Use code: ECRENTAL

5% off 1 book, 7% off 2 books, 10% off 3+ books

9781590598429

Pro SQL Server 2005 Service Broker

by
  • ISBN13:

    9781590598429

  • ISBN10:

    1590598423

  • Format: Paperback
  • Copyright: 2007-06-04
  • Publisher: Textstream
  • Purchase Benefits
  • Free Shipping Icon Free Shipping On Orders Over $35!
    Your order must be $35 or more to qualify for free economy shipping. Bulk sales, PO's, Marketplace items, eBooks and apparel do not qualify for this offer.
  • eCampus.com Logo Get Rewarded for Ordering Your Textbooks! Enroll Now
List Price: $49.99 Save up to $31.99
  • Buy New
    $49.94
    Add to Cart Free Shipping Icon Free Shipping

    USUALLY SHIPS IN 2-3 BUSINESS DAYS

Summary

Pro SQL Server 2005 Service Broker, by Klaus Aschenbrenner, an international expert on Service Broker, explains why Microsoft introduced Service Broker and describes its big advantages over prior message technologies. Rich with practical examples, this is the most complete and incisive book on this important new technology, an invaluable resource for all serious database and web developers. Focused on best practices, it explains in detail how Service Broker supports and enhances database and web applications. This book not only covers Service Broker fundamentals, but also addresses current crucial topics like SOA (Service- Oriented Architecture) and SODA (Service-Oriented Data Architecture).

Table of Contents

Forewordp. xiii
About the Authorp. xv
About the Technical Reviewerp. xvii
Acknowledgmentsp. xix
Introductionp. xxi
The Service Broker Programming Model
Fundamentals of Message-Based Processingp. 3
Message Conceptsp. 4
Message Anatomyp. 4
Messaging in Daily Lifep. 5
Why Messaging?p. 5
Asynchronous Message Processingp. 6
Deferred Message Processingp. 6
Fault Tolerancep. 7
Distributed Systemsp. 7
Messaging Problemsp. 8
Performancep. 8
Queue Reader Managementp. 9
Transaction Managementp. 10
Message Sequencing and Correlationp. 10
Maintenancep. 11
Messaging Architecturesp. 12
SOAp. 12
SODAp. 12
Available Messaging Technologiesp. 13
MSMQp. 13
Queued Componentsp. 14
BizTalk Serverp. 14
XML Web Servicesp. 14
WCFp. 14
Summaryp. 15
Introduction to Service Brokerp. 17
Conversationsp. 17
Dialogsp. 17
Dialog Lifetimep. 18
Conversation Groupsp. 19
Message Sequencingp. 20
Reliable Deliveryp. 20
Error Handlingp. 21
Anatomy of a Servicep. 21
Message Typesp. 23
Contractsp. 23
Queuesp. 24
Service Programsp. 25
Routesp. 25
Securityp. 25
Transport Securityp. 25
Dialog Securityp. 26
Message Processingp. 27
Performancep. 29
Benefitsp. 30
Summaryp. 30
Service Broker in Actionp. 31
Defining Service Broker Applicationsp. 31
Message Typesp. 32
Contractsp. 36
Queuep. 39
Servicep. 41
Sending Messagesp. 45
Retrieving and Processing Messagesp. 51
Retrieving Messagesp. 53
Processing Messagesp. 55
Error Handlingp. 59
Error Handling in Service Programsp. 59
Poison-Message Handlingp. 63
Ending Conversations with Errorsp. 66
Summaryp. 68
Service Broker Activationp. 69
Activation Basicsp. 69
Startup Strategiesp. 70
When Is Activation Needed?p. 71
Internal Activationp. 72
Controlling Message Throughputp. 79
Stored-Procedure Signingp. 82
Calling a Stored Procedure in Another Databasep. 90
Using a Single Stored Procedure to Process Many Queuesp. 94
External Activationp. 97
Parallel Activationp. 112
Troubleshooting Activationp. 117
When the Activated Stored Procedure Doesn't Runp. 117
When Messages Remain on the Queuep. 117
Summaryp. 118
Service Broker with Managed Codep. 119
The Managed Assemblyp. 119
Architecture and Design of the Managed Assemblyp. 123
Building a Managed Service Broker Clientp. 129
Building a Managed Service Programp. 133
Derive Your Service Classp. 134
Implement an Entry Pointp. 134
Implement Message Type Handlingp. 136
Deploy the Assemblyp. 136
Register the Managed Stored Procedurep. 138
Configure the Service Broker Activationp. 139
Using the Service Programp. 139
A Practical Examplep. 142
Summaryp. 150
Locking and Transaction Managementp. 151
Conversation Groups and Locksp. 151
State Handlingp. 158
Get Conversation Groupp. 159
The Receive Loop with State Handlingp. 160
State Handling with a Managed Stored Procedurep. 164
A Practical Examplep. 170
Compensation Logic with Service Brokerp. 198
Transaction Managementp. 204
Basic Receive Loopp. 204
Measuring Performancep. 205
Batched Commitsp. 208
Cursor-Based Processingp. 210
Set-Based Processingp. 213
Binary Payloadp. 216
Summaryp. 219
Distributed Service Broker Applicationsp. 221
Communicationp. 221
Service Broker Protocolsp. 222
Sending a Messagep. 222
Routingp. 224
Routing Algorithmp. 225
Managing Routesp. 226
Distributed Applicationsp. 228
The Applicationp. 228
Setting Up Routesp. 229
Establishing a Communication Channelp. 232
Setting Up Securityp. 236
Summaryp. 249
Advanced Service Broker Programming
Advanced Distributed Service Broker Programmingp. 253
Transport Securityp. 253
Local Routep. 254
Transport Routep. 255
Dialog Securityp. 257
Service Broker Security Protocolp. 257
Configurationp. 259
Encryptionp. 268
Transport Encryptionp. 269
Dialog Encryptionp. 270
Recommendationp. 271
Transport Protocolp. 271
Setting Up Tracingp. 271
The Captured Service Broker Messagep. 273
Replaying Service Broker Messagesp. 276
Replacing Certificatesp. 276
Transport Securityp. 276
Dialog Securityp. 277
Service Listing Managerp. 277
Exporting a Service Listingp. 279
Importing a Service Listingp. 281
Summaryp. 284
Service-Oriented Database Architecturep. 285
Service-Oriented Database Architecturep. 285
SOAp. 286
Reasons for SODA Architecturesp. 287
Requirements for a SODA Service Providerp. 288
Data in SODAp. 288
Outside Datap. 289
Inside Datap. 290
SODA Features in SQL Server 2005p. 292
XML Supportp. 292
Native Web Servicesp. 295
SQLCLRp. 307
Query Notificationsp. 316
Summaryp. 327
Real-World Application Scenariosp. 329
Asynchronous Triggersp. 329
Defining the Problemp. 330
Implementing the Triggerp. 331
Creating the Service Broker Infrastructurep. 333
Writing the Service Programp. 334
Batch Frameworksp. 337
Creating the Service Broker Infrastructurep. 338
The Implementation of the Batch Frameworkp. 339
Extending the Batch Frameworkp. 345
Publish-Subscribe Frameworksp. 348
Defining the Infrastructurep. 349
Applying Publisher Logicp. 351
Publishing Informationp. 356
Priority-Based Message Processingp. 358
Implementing Priority-Based Messagingp. 358
Reliable Web Service Requestsp. 371
Service Broker Infrastructurep. 372
Implementation of the Web Proxyp. 376
Using the Web Proxy in a Smart Clientp. 388
Summaryp. 393
High Availability and Scalabilityp. 395
Database Mirroringp. 395
Implementation Detailsp. 396
Setting Up Database Mirroringp. 397
Using Service Broker with Database Mirroringp. 402
Load Balancingp. 404
Service Deploymentp. 405
Initiator Configurationp. 406
Message Forwardingp. 408
Reliable Deliveryp. 408
Securityp. 408
Network Topology Abstractionp. 409
Centralized Routing Instancep. 410
Work Distributionp. 410
Using Message Forwardingp. 411
Monitoring Message Forwardingp. 415
Configuration Notice Servicep. 416
Implementing Dynamic Routingp. 417
Implementing the Configuration Notice Servicep. 417
Summaryp. 422
Administrationp. 423
SQL Profilerp. 423
Using SQL Profilerp. 425
System Monitorp. 428
SQL Server Management Objectsp. 432
Creating Service Broker Objectsp. 434
Retrieving Informationp. 435
Summaryp. 436
Indexp. 437
Table of Contents provided by Ingram. All Rights Reserved.

Supplemental Materials

What is included with this book?

The New copy of this book will include any supplemental materials advertised. Please check the title of the book to determine if it should include any access cards, study guides, lab manuals, CDs, etc.

The Used, Rental and eBook copies of this book are not guaranteed to include any supplemental materials. Typically, only the book itself is included. This is true even if the title states it includes any access cards, study guides, lab manuals, CDs, etc.

Rewards Program