ninia / jep

Embed Python in Java
Other
1.28k stars 145 forks source link

alternatives to `JepScriptEngine`? #491

Closed jeanetteclark closed 11 months ago

jeanetteclark commented 11 months ago

Describe the problem

I'm exploring using Jep to replace Jython in my Java application, and it looks promising, but the easiest refactor (it seems) would be to use a JepScriptEngine, a class which was deprecated. Does anyone have advice or examples of an alternative solution? I suppose I could write my own JepScriptEngine that extends ScriptEngine but would obviously prefer not to if viable alternatives exist.

Environment (please complete the following information):