4.2. A “thick-client” banking example

In 4.1, “Example: JSP parcel tracking application,” we saw how dynamic server page technology can be used to expose a database to a voice user using VoiceXML. In that example about half of the VoiceXML was static and half was generated dynamically. In this section we'll consider a different approach where almost all of the VoiceXML is static. This allows the VoiceXML application to be much better separated from the database logic compared to the previous example.

As a motivation for this approach, let's consider the following scenario. We are hired as a voice application consultant to build a voice application for a bank where customers can access their bank accounts. The bank staff is interested in minimizing ...

Get Definitive VoiceXML™ now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.