You still can code in Jython only and deploy the compiled library as a JAR file to the PDE.
However, as I had stated before, I’m afraid you may need to pay close attention to the datatype of any value you return to the user from Jython functions, in such a way that a Java user can easily store in a Java variable w/o so much hassle.