Show two ways to call a method:
1. Use jpype to call java in python
2. Use zmq to communicate in method