Home › Forums › General XMetaL Discussion › Calling Java classes from XMetaL › Reply To: Calling Java classes from XMetaL
Reply to: Calling Java classes from XMetaL
December 13, 2008 at 12:11 amMy understanding is that the XMetaL Java API Toolkit is an API for using Java code to access XMetaL. I want the opposite. I need XMetaL customizations to call external Java methods and act on the returns from those methods.
More specifically, we have an desktop Java application that we need to integrate with our XMetaL customizations. I'd prefer to access it directly via Java but this is impossible via VBScript and JScript. I'm looking into the possibility of embedding Java into Perl (Inline::Java module) and running the Perl script in XMetaL. The other possibility is using Python and JPype to access Java classes from a Python script that could be run from within XMetaL.
Best regards,
Paul Anderson
Compuware Corporation