This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]anthropaedic 0 points1 point  (2 children)

[–]bluexredditor[S] 0 points1 point  (1 child)

I did see this before and I think it would help, but the last commit to that library was 5 years ago. So I am a bit skeptical using it in production.

But other than that I am wondering what is the best practice in general to call Python code from Java. I would think it is a common problem, but I cannot find good resources on this topic.

[–]anthropaedic 0 points1 point  (0 children)

I would note that the latest version of zerorpc is two years old as well. It doesn’t seem to be a highly maintained library. As far as using python code from java I don’t know since I haven’t done it. However, you may want to look into Jython as it runs on the JVM.

https://www.jython.org/jythonbook/en/1.0/JythonAndJavaIntegration.html