Python calling Java

John J. Lee jjl at pobox.com
Mon Feb 18 15:34:07 EST 2002


On Mon, 18 Feb 2002, jimh wrote:

> We have a bunch of Python (cgi) scripts producing html behind an Apache web
> server.  We also have a set of Java libraries that I want to access from
> these Python scripts, but I haven't been able to figure out how to do this.
> I have downloaded and tried out Jython, but it takes 5-6 seconds just to run
> a one-line 'print "hi"' script, and this is, of course, not acceptable for a
> web server.
>
> Any ideas?

Fix your Jython installation?!  Seriously, what is the bottleneck here?
Clearly not the execution of the code 'print "hi"'.  I presume you are
talking about entirely server-side execution -- or not?

Google points to JPE, might be worth a look.


John




More information about the Python-list mailing list