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

Created by: Janine Graves on 02-10-2008 03:11:42 PM
Hi,

Can anyone tell me whether it's necessary to recompile custom java components that were originally created for studio/vxml server for CVP 3.1 or 4.0 when upgrading to future versions (for example, cvp 7.0).

And what about if I had 'extended' existing elements or say it smarts in Studio 3.1 or 4.0 - would those need to be recompiled for new versions?

I know in CVP 4.1/7.0 Studio that the voice elements have more settings. So if I had extended a voice element in 3.1 or 4.0 and now upgrade, must I recompile the Java?

Is this documented in the upgrade manual?

Thanks! Janine

Subject: Re: upgrading custom java components
Replied by: Brien Williams on 07-10-2008 10:47:12 PM
An out-of-box element is built with the CVP API, but it's not part of the API. As you've noticed, they can change. Depending on the logic of your program, for example if you made an assumption based on a setting appearing in the list or on the size of list, your custom extension might be broken in a later release. If you're only overwriting API defined methods of the parent, you won't notice the problem at build time, but might have one when you test. Rebuilding in itself won't help you. If the package names for the old OOB and the new are the same, you can't load both, so you have a problem. So, when you extend an OOB element, don't make any assumptions about the behavior of the parent class. But there aren't any guarantees with this kind of customization.

If you build an element using only the CVP API, the good evolution of the API will maintain backward compatatibility, so you never need to worry.

Subject: Re: upgrading custom java components
Replied by: Janine Graves on 07-10-2008 11:28:41 PM
Wow. Audium used to allow for extending the OOB elements.

Now you're saying that shouldn't be done.

Is that the new philosphy? Is this what I should recommend to my students?

Subject: Re: upgrading custom java components
Replied by: Brien Williams on 08-10-2008 02:11:29 PM
i didn't say it shouldn't be done - i do it

Subject: Re: upgrading custom java components
Replied by: Mert Guray on 02-11-2008 07:38:22 PM
Hi,
Can i ask you, what kind of situations we need to use OOB element?
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