communication with a java applet

Gerhard Häring gerhard at bigfoot.de
Mon Mar 25 07:35:05 EST 2002


In article <3C9F100D.BAB4F24D at hotmail.com>, Looping wrote:
> Hi all,
> 
> I am trying to make a real-time system communicate with a java applet
> under IE 5.5. I only have a pyd file (Python 1.5.2) to get the floats
> calculated on the platform and I wonder how to make the platform
> communicate with my java applet : TCP/IP, CORBA, shared memory,
> others... ?

AFAIK Java doesn't have access to shared memory. Any remote procedure or object
protocol will do (CORBA, XML-RPC, SOAP). XML-RPC is a very easy one, but even
CORBA isn't difficult to use from Python. I'd recommend to use omniORBpy if you
want to go the CORBA way.

Don't worry that using a network layer is slow. If you're running both the
applet and the Python app on the same machine, the OS will use the loopback
interface, which is quite a bit optimized and about as fast as shared memory.

Gerhard



More information about the Python-list mailing list