How can I use Jython classes from my Java application?
You can subclass Java classes in Python and then use them from Java code as that Java type. This technique is explained in Accessing Jython from Java Without Using jythonc and its followup, Simple and Efficient Jython Object Factories. As the title of the first article above suggests, you can also expose Python code to Java with jythonc. However, as jythonc will not be included in Jython-2.3 its use is not recommended for the future.
Related Questions
- How do the FileMaker Java classes compare with the FileMaker JDBC driver? Can I create a Java Application that uses FileMaker Pro as the backend database?
- Should all the Java files or classes in my application be added to JCover project to perform coverage analysis?
- How can I use Jython classes from my Java application?