Communication between JAVA and python
Ulrich Schaefer
ulrich.schaefer at dfki.de
Thu Feb 24 03:18:24 EST 2005
Jacques Daussy wrote:
>> Hello
>> How can I transfert information between a JAVA application and a
>> python script application. I can't use jython because, I must use
>> python interpreter.I think to socket or semaphore, but can I use it
>> on Windows plateform ?
>
Try XML-RPC (a simple implementation of remote procedure call via HTTP
sockets).
It's built-in in Python since 2.2
(http://www.python.org/doc/2.4/lib/module-xmlrpclib.html),
in Java use e.g. Apache XML-RPC (http://ws.apache.org/xmlrpc/).
Ulrich
More information about the Python-list
mailing list