Python and Java

Paul Rubin http
Tue Mar 7 00:04:54 CET 2006


"JKPeck" <JKPeck at gmail.com> writes:
> Suppose you have an application written in Java, and you want to enable
> other applications or processes written in Python to communicate with
> it, i.e., to use Python as a scripting language for the application.
> On Windows you could do this with COM and various addons such as
> J-Integra and Mark Hammond's libraries.
> 
> How would you do this if you want a mechanism that is portable across
> Windows, Linux, Mac, and Unix?

I suppose you could make some layer that sits between JNI and Python's
C API.  It may be easier to use some slower IPC mechanism like
sockets, if you can tolerate that.



More information about the Python-list mailing list