cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
70
Views
0
Helpful
0
Comments
cdnadmin
Community Member
This document was generated from CDN thread

Created by: null on 23-08-2004 11:09:05 PM
I would like to know much about the Best practice or Limitation when we are using Dynamic Voice element with java API.

Subject: RE: Dynamic Voice element with java API
Replied by: Michael Bochynski on 24-08-2004 05:54:45 PM
Hi,

Dynamic element configuration, either using Java API, XML API or Substitutions allows developers to create more advanced voice applications. Because dynamic configurations is a programming API, developers have the flexibility to design and code solutions in a number of different ways.

If you describe a more specific scenario you are trying to implement, I would be able to provide you with suggestions.

I would also suggest viewing the Audium documentation and Developer Resources.

Regards,
Michael

Subject: RE: Dynamic Voice element with java API
Replied by: null on 25-08-2004 05:30:22 AM
Hi Michael,

In our Voice application, there is a dynamic Voice element which has to process huge business logic. I had created a java file which contains more than 3000 lines of code, I had split different methods.

One of my friend said that it not wise to have more than 300 lines of code as it will cost performance issue in the web application.

Whether these java class will be deployed as Servlet or invoked as java class in the Audium server envirnoment?

Also in our application we are using lot of session variables. Is there any effective alternate for that?

Any other concerns you wish to suggest.

Thanks,
Sam

Subject: RE: Dynamic Voice element with java API
Replied by: Michael Bochynski on 02-09-2004 06:27:27 PM
Hi Sam,

Audium best practices are not different from a general Java and software development practices.

Please note that if you plan to use session replication and/or clustering for Audium applications, it is suggested to limit session variables used by applications. You might want to use an external systems, such as database, instead of session variables.

Moreover, custom Java class will be deployed as a Java class, and will not be converted to a servlet by Audium.

Regards,
Michael
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Quick Links