Jython and Win32 extensions
gerhard.nospam at bigfoot.de
Thu Sep 6 13:19:06 CEST 2001
On Thu, 06 Sep 2001 12:00:04 +0100, Dale Strickland-Clark wrote:
>Does anyone know if Jython works with Mark Hammond's the Win32
Certainy not directly.
>We've coded a bunch of objects in Python which use COM and we now need
>to access these from Java. We're considering Jython to bridge the gap.
The Java platform isn't suited well for COM interfacing, it's a whole paradigma
of its own. So normally (except if you use Visual J++ and the M$ VM, which
contains some hacks to support COM directly), you'll need extra software to
bridge the two worlds.
You might want to browse thru this extensive link collection:
I was quite happy with the free (LGPL) Jacob Java->COM bridge.
Note that JIntegra, a commercial offering, has the ability to bridge
(D)COM<->Java even from non-Windows machines. That's what I call cool.
mail: gerhard <at> bigfoot <dot> de registered Linux user #64239
web: http://www.cs.fhm.edu/~ifw00065/ public key at homepage
public key fingerprint: DEC1 1D02 5743 1159 CD20 A4B6 7B22 6575 86AB 43C0
reduce(lambda x,y:x+y,map(lambda x:chr(ord(x)^42),tuple('zS^BED\nX_FOY\x0b')))
More information about the Python-list