cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1096
Views
0
Helpful
4
Replies

Application startup and application variables

MikeHMirt
Beginner
Beginner

Using call studio v11.  I have a two part question.  As part of my application I want to load from a file configuration information that will be used by the application.

Question #1:  Is there an initialization phase for the applications that only runs once (ex: call a java class)  This class will execute, and store application configuration information in "application" scope variables to be shared by all calls.

Question #2: Can someone explain the proper approach using studio to create application variables.   I see how element, and session variables can be created, but I'm not able to understand how application scope variables are created using elements.   Also, I have created a java class that I invoke from the action element.  In that java class I create an application scope variable using :

    data.getApplicationAPI().setApplicationData(parm1, parm2);

When I debug the application inside studio and execute the action element I don't see in the debug window any application scope variables listed.  Should I expect to see application scope variables in the debug pane that are created by a java class?

Thank You.

1 Accepted Solution

Accepted Solutions