JPype is an effort to allow python programs full access to java class libraries
Py4J enables Python programs to dynamically access arbitrary Java objects
Discussion performance solutions
"You can see the discussion here py4j has bigger overhead than jython and jpype"
How to run Scala class in python?
"In terms of performance py4j has a bigger overhead than both of the previous solutions jython and jpype because it relies on sockets but if performance is critical to your application accessing java objects from python programs might not be the best idea"
Py4J has bigger overhead than Jython and JPype