3 Réponses
0
By using RESTful Services or gRPC
0
Java is capable of executing processes: https://www.mkyong.com/java/how-to-execute-shell-command-from-java/
You can run your python code this way and your value through stdout (print)
Or you can open a TCP server and send your result through tcp