About Subscribing to Events
The Forms Services gets notified when events it has registered interest in are added to the event queue.
Registration is done either when the runtime starts up or when connecting to the database, depending on the type of the event. For database events, the type of the event queue (persistent or non-persistent) is also saved as part of the event creation.