Skip to content

Instantly share code, notes, and snippets.

@mojaie
Created August 26, 2013 08:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mojaie/6339046 to your computer and use it in GitHub Desktop.
Save mojaie/6339046 to your computer and use it in GitHub Desktop.
Sample of Py4J GatawayServer jarfile
import py4j.GatewayServer;
public class TestEntryPoint {
public String getString() {
return "hogehoge";
}
public static void main(String[] args) {
GatewayServer gatewayServer = new GatewayServer(new TestEntryPoint());
gatewayServer.start();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment