Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How can I use Jython classes from my Java application?

application classes Java jython
0
Posted

How can I use Jython classes from my Java application?

0

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

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123