From: dman <ds...@ri...> - 2001-12-31 22:24:14
|
On Mon, Dec 31, 2001 at 10:01:30PM +0000, Dan...@at... wrote: | Is there a way in which I can access win32 libraries | from jython? | CPython has a set of excellent containers for windws | platform specific tools. Is there any way in which I can | access these capabilities from Jython as a way of | bridging Java and COM without. | Has anyone ever explored this? | I know that I could architect things such that I could | use sockets to communicate from Java/Jython to Cpython- | hosting-COM, but that seems unecessarily cumbersome to | me. | Anyone have another approach. Microsoft's JVM supports COM. It is the only one that does, though. Part of java's goal is to be portable. As such it can't rely on the underlying platform. A major difference between Java and CPython is that java takes the least common denominator approach, whereas CPython (the docs) just warn you that your program won't be portable. You could also use any other distributed object middleware to connect Java/Jython to CPython to take advantage of stuff java doesn't let you use. For example: XML-RPC or CORBA. -D -- Consider what God has done: Who can straighten what He has made crooked? Ecclesiastes 7:13 |