Invoking a Java application

A Java application can only be invoked on a connection that is in the CONNECTED state.

To invoke a Java application, your CCXML document must use a <dialogstart> element with a type attribute set to "'application/x-ibmvrbe'". For example:
<transition event="connection.connected" name="evt">
	<dialogstart src="'myJavaApp'" type="'application/x-ibmvrbe'"/>
</transition>
To pass information to the Java application, the CCXML application must use the namelist attribute of the <dialogstart> element:
<transition event="connection.connected" name="evt">
<var name="Param1" expr="Value1">
<var name="Param2" expr="Value2">
	<dialogstart src="'myJavaApp'" type="'application/x-ibmvrbe'" namelist="Param1 Param2"/>
</transition>
The Java application can then access this data from the application data provided to it:
DirectTalk directTalk;
HashMap inputParams;
inputParams=(HashMap)directTalk.getApplicationData();
System.out.printin("Input Params="+ inputParams);

The Java application can call other Java applications, invoke a state table, or be used to communicate with other platforms such as a Cisco ICM server.