Home Forums General XMetaL Discussion Calling Java classes from XMetaL Reply To: Calling Java classes from XMetaL

paul_cpwr

Reply to: Calling Java classes from XMetaL

My 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

Reply

Products
Downloads
Support