Call Java Code from python
sschwarzer at sschwarzer.net
Wed Aug 18 09:44:14 CEST 2010
On 2010-08-18 09:19, Bidda Gowda wrote:
> I have a project coming up where i have to integrate our existing
> Python based web application with Java Programs. Basically i should be
> able to call Java programs which comes in the form of jars. Whats the
> best way to call these jars from python ?
> I looked at jpype and tried with small program and it works. Are there
> any other tools which can do the same or if any how are they compared
> to jpype ?
Here are some slides from a talk by Andreas Schreiber,
"Mixing Python and Java", which might help:
Personally, I've used JCC for accessing Lucene (a search
engine framework implemented in Java). It was a bit
rough in some places, but overall quite usable.
More information about the Python-list