Chapter 8. Event Providers


IN THIS CHAPTER

  • Overview of Event Providers and Event Submission

  • Event Provider Concepts

  • Preparing to Work with the Source Code in This Chapter

  • Using the Built-in Event Providers

  • APIs for Building Custom Event Providers

  • Building Custom Hosted Event Providers

  • Building Standalone Event Providers

  • Cleanup: Preparing for the Next Chapter

This chapter explores event providers, the components that submit events into SQL-NS applications for processing. In the sample applications you've seen so far, you've submitted events manually, via TSQL scripts. In effect, you have been the event provider for these applications. Manually submitting events this way is a useful technique during testing because it allows you to hand pick the event data the applications process. But eventually, most applications need one or more real event providers to gather events from event sources automatically.

SQL-NS comes with a set of built-in event providers: configurable components that can be reused in any application. It also provides a framework for building custom event providers. This chapter describes the built-in event providers in detail and also teaches techniques for building various types of custom event providers. All the examples in this chapter extend the music store application we've been developing since Chapter 5, "Designing and Prototyping an Application."




Microsoft SQL Server 2005 Notification Services
Microsoft SQL Server 2005 Notification Services
ISBN: 0672327791
EAN: 2147483647
Year: 2006
Pages: 166
Authors: Shyam Pather

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net