IN THIS 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." |