Jolt 1.2 Developer's Guide
Table Of Contents
- Jolt for NonStop(TM) TUXEDO Developer's Guide
- Jolt for NonStop(TM) TUXEDO Developer's Guide
- About This Guide
- 1. Introducing Jolt
- 2. Installing Jolt
- 3. Configuring the Jolt System
- 4. Bulk Loading NonStopTM TUXEDO Services
- 5. Using the Jolt Repository Editor
- 6. Using the Jolt Class Library
- 7. Using JoltBeans
- 8. Using Servlet Connectivity for NonStopTM TUXEDO
- 9. Using Jolt 1.2 ASP Connectivity for NonStopTM TUXEDO
- A. NonStopTM TUXEDO Errors
- B. System Messages
- Index

catch (ApplicationException e)
{
e.printStackTrace();
System.err.println(e);
}
}
}
Event Subscription and Notifications
Programmers developing client applications using Jolt can receive event notifications from either NonStop
TM
TUXEDO Services or other
NonStop
TM
TUXEDO clients. The Jolt Class Library contains classes that support the following types of NonStop
TM
TUXEDO notifications for
handling event-based communication:
Unsolicited Event Notifications. These are notifications that a Jolt client receives as a result of a NonStop
TM
TUXEDO client or service
issuing a broadcast using either a tpbroadcast() or a directly targeted message via a tpnotify() ATMI call.
●
Brokered Event Notifications. These notifications are received by a Jolt client via the NonStop
TM
TUXEDO Event Broker. The notifications
are only received when both the Jolt client subscribes to an event and any NonStop
TM
TUXEDO client or server issues system posted event or
a tppost() call.
●
API for Event Subscription
The Jolt Class Library provides four classes that implement the asynchronous notification mechanism for Jolt client applications. These classes are:
JoltSession. The JoltSession class includes an onReply() method for receiving notifications and notification messages.●
JoltReply. The JoltReply class gives the client application access to any messages received with an event or notification.●
JoltMessage. The JoltMessage class provides get methods for obtaining information about the notification or event.●
JoltUserEvent. The JoltUserEvent class supports subscription to of both unsolicited and event notification types.●
For more information about these classes refer to the Online API Javadoc.










