JWebServices for Exchange > Tutorial > New mail notification - PullSubscription

The following example shows you how to use pull notifications.