Reply to: Calling Java classes from XMetaLJanuary 16, 2009 at 5:02 pm
The Java-to-COM bridge is certainly a possibility. Unfortunately, the robust implementations of these tools are all commercial and some of them are rather expensive.
Since we can control the code in the Java application that is the target of the integration, we have devised a new strategy. We will code a component in the Java application that will expose itself as a web service (or web container/servlet). Then we'll edit our XMetaL JScript use the Microsoft.XMLHTTP ActiveXObject, available in JScript, to call the webservice/servlet and act on the response.
We have yet to implement this solution, though it appears that other JScript developers have been able to make this work.