Previous topic

4.6. py4j.signals — Py4J Signals API

Next topic

6. Frequently Asked Questions

This Page

5. Py4J Java API

The Java API is under active development and will be refactored in the next releases. You can browse the javadoc, but most classes are not documented yet.

For now, the best way to use the API is to:

  1. Create a class that extends the DefaultGateway.

  2. Initialize a GatewayServer with your newly created class.

  3. Call the Gateway.start() method to enable your Python program to access your gateway.