Istvan Albert wrote:
Steve Menard wrote:
To asnwer your question more fully, the jpype-specific cide is only
for looking up the Classes and startting/stopping the environment. For
everything else, Java objects and classes are used as regular Python
objects.
Thanks for the response. Currently I
Joachim Boomberschloss wrote:
Option iii would also enable writing independent
packages in Python and Java, but its glue layer will
be distributed between Python and Java using Jython
and Pyro (I chose Pyro because it works in both
CPython and Jython, and can be used to communicate
between them).
P
Thanks for the info. I understand now the background
and possibilities, but would like to refine my query:
As I see it, writing a hybrid Java/Python application
faces approximately three possibilities: (i) write the
core in Java and do some scripting with Jython, (ii)
write independent code in Java
Steve Menard wrote:
To asnwer your question more fully, the jpype-specific cide is only for
looking up the Classes and startting/stopping the environment. For
everything else, Java objects and classes are used as regular Python
objects.
Thanks for the response. Currently I don't need to use java
Dan Bishop wrote:
Istvan Albert wrote:
Joachim Boomberschloss wrote:
the code is already written in Python, using the
standard libraries and several extension modules
One thing to keep in mind is that Jython does not
integrate CPython, instead it "understands" python code
directly. So if you have
Istvan Albert wrote:
> Joachim Boomberschloss wrote:
>
> > the code is already written in Python, using the
> > standard libraries and several extension modules
>
> One thing to keep in mind is that Jython does not
> integrate CPython, instead it "understands" python code
> directly. So if you ha
Istvan Albert wrote:
Cameron Laird wrote:
Someone really ought to include a couple of sentences to that effect
on the front page of http://jpype.sf.net/ >.
Now I remember visiting this site, but never understood how it
actually worked. Examples such as:
from jpype import *
startJVM("d:/tools/j2sdk
Istvan Albert wrote:
Now I remember visiting this site, but never understood how it
actually worked. Examples such as:
from jpype import *
startJVM("d:/tools/j2sdk/jre/bin/client/jvm.dll", "-ea")
java.lang.System.out.println("hello world")
shutdownJVM()
in three different versions are the only code
Cameron Laird wrote:
Someone really ought to include a couple of sentences to that effect
on the front page of http://jpype.sf.net/ >.
Now I remember visiting this site, but never understood how it
actually worked. Examples such as:
from jpype import *
startJVM("d:/tools/j2sdk/jre/bin/client/jvm.dl
Cameron Laird wrote:
In article <[EMAIL PROTECTED]>,
Jon Perez <[EMAIL PROTECTED]> wrote:
Can someone summarize in a nutshell what is the
difference between JPype and JPE?
JPE's the original. It provided more functionality than JPype has
achieved so far, I believe (though that could change any d
In article <[EMAIL PROTECTED]>,
Jon Perez <[EMAIL PROTECTED]> wrote:
>Can someone summarize in a nutshell what is the
>difference between JPype and JPE?
JPE's the original. It provided more functionality than JPype has
achieved so far, I believe (though that could change any day). I
think no on
Can someone summarize in a nutshell what is the
difference between JPype and JPE?
--
http://mail.python.org/mailman/listinfo/python-list
In article <[EMAIL PROTECTED]>,
Istvan Albert <[EMAIL PROTECTED]> wrote:
>Joachim Boomberschloss wrote:
>
>> the code is already written in Python, using the
>> standard libraries and several extension modules
>
>One thing to keep in mind is that Jython does not
>integrate CPython, instead it "u
How about this?
http://jpype.sourceforge.net/
(I haven't used it myself)
--
http://mail.python.org/mailman/listinfo/python-list
It is possible, though possibly painful, to call java modules from
CPython using JNI. This is more difficult than Jython integration, but
probably required if you want to keep using your extension modules.
The JNI tutorial is available at
http://java.sun.com/docs/books/tutorial/native1.1/index.htm
Joachim Boomberschloss wrote:
the code is already written in Python, using the
standard libraries and several extension modules
One thing to keep in mind is that Jython does not
integrate CPython, instead it "understands" python code
directly. So if you have a C extension that works with python
i
gauge the viability of integration with
Java
via Jython with minimal impact on present code, on
the
complexity of future code, and on deadlines!
I need to know in general how dirty it will be to
combine the two languages, and what the costs I
should
take into account are. I"m also int
17 matches
Mail list logo