What controls the sequence of events in a Java application?

In a Java application, the sequence of events is determined by the ordering of statements in the program.

The Blueworx Voice Response Java API includes classes and methods representing the Blueworx Voice Response system, and also the components of a typical voice response application. Figure 1 gives an overview of some of the more important classes and methods in the Java API.

Figure 1. Overview of some of the more important Blueworx Voice Response Java API classes
This picture shows how some of the more important Java API classes interact with each other. The WVR class is created using an ApplicationProperties object. The WVR class is then used to create Call objects, which contain methods such as Call.playAndGetInput() to interact with the caller. The Call.playAndGetInput() method requires the four attributes classes mentioned previously, and returns an InputResult object.