Passing information back from a Java application to CCXML

The information to be returned from the Java dialog application is defined in a hash map that is set into the application data before the application returns.

For example:
DirectTalk directTalk; 
HashMap map = new HashMap();
   String Bob="yes";
   String Fred="no";
   map.put("Bob",Bob);
   map.put("Fred",Fred);
    directTalk.setApplicationData(map); 
directTalk.returnCall(actionStatusEvent);
When the Java application completes, the CCXML application that launched it receives a dialog.exit event:
<transition event="dialog.exit" name="evt">
	<!-- issue test message including returned values -->
	<log expr="'Value of Bob '+evt.values.Bob">
	<log expr="'Value of Fred '+evt.values.Fred">
</transition>