Cisco Cisco Customer Voice Portal 8.0(1) Guía Del Desarrollador
convention the VXML Server enforces the *.jar filename extension and will not load classes
with *.zip filenames. Therefore you must use *.jar filenames for classes that are developed on
Call Studio and will run on VXML Server.
with *.zip filenames. Therefore you must use *.jar filenames for classes that are developed on
Call Studio and will run on VXML Server.
VXML Server Deployment
When an application is deployed through Call Studio, a folder is created that encapsulates all
the information for that application, including all Java code the developer placed in the Call
Studio project as per the instructions given in the previous section. If the application is to change
in any way, from changes to the call flow, to the addition or subtraction of required Java files,
those changes must be done through Call Studio and then redeployed to VXML Server.
the information for that application, including all Java code the developer placed in the Call
Studio project as per the instructions given in the previous section. If the application is to change
in any way, from changes to the call flow, to the addition or subtraction of required Java files,
those changes must be done through Call Studio and then redeployed to VXML Server.
One deployment requirement that must be performed by the developer is to ensure that the Java
components and utility libraries stored in the
components and utility libraries stored in the
Call Studio/eclipse/plugins/
com.audiumcorp.studio.library.common_5.1.0
folder are also placed in the VXML
Server
common
folder. When an application is deployed from Call Studio, only that application’s
files are created, any common code is not included. As a result, it is the developer’s responsibility
that the contents of the
that the contents of the
common
folder in Call Studio also appear in the VXML Server common
folder.
Note:
• When VXML Server initializes, it first loads the classes in
common
and then loads each
application’s classes. Due to the way Java classloaders work, if a Java class appears in both
the
the
common
folder and an application’s
java
folder, the one in
common
will take precedence
and the one in the application’s
java
folder will not be loaded.
• Due to the order in which these classes are loaded, the developer cannot place a class in
common
that refers to a class that only appears in an application’s
java
folder since the
classes in
common
are loaded first. Keep in mind that some application servers have advanced
options to change this precedence to parent-last, meaning that the application-level classloaders
take precedence. By default, all application servers should be configured to be parent-first.
take precedence. By default, all application servers should be configured to be parent-first.
Subdirectories of the Java Folder
The
java
folder of a Call Studio project and a VXML Server application folder contain two
subdirectories named
application
and
util
. Each folder encapsulates Java classes used for
different purposes, their distinctions applying primarily to how the application works within
VXML Server.
VXML Server.
The
application
folder should contain all Java code for components that are used by the
application.
Note: In Call Studio, any custom configurable elements that are utilized only by the application
would be placed in this folder and will appear in Call Studio’s element pane under the folder
named Local Elements. The call flow editor for that application must be closed and reopened
in order for newly copied local elements to appear in the element pane.
would be placed in this folder and will appear in Call Studio’s element pane under the folder
named Local Elements. The call flow editor for that application must be closed and reopened
in order for newly copied local elements to appear in the element pane.
The second subdirectory of the
java
folder is the
util
folder. This is used for Java libraries
that provide the application with utilities unaffiliated with Unified CVP (such as math libraries,
XML parsing libraries, etc.).
XML parsing libraries, etc.).
Programming Guide for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 8.0(1)
13
Chapter 2: Unified CVP API Introduction
Java API