Can I leverage Java classes from a python program

Adam DePrince adam at deprince.net
Fri Feb 23 01:48:15 EST 2001


Chris Richard Adams wrote:
> 
> If so, questions:
> 
> I am working with Java Oracle Intermedia classes (just a Java API that
> helps you manipulate images (Blobs) stored in a database). ANyway - I
> have to work with the java oracle classes, but wanted to do this from a
> python program. Can I use inheritance to access these types of classes,
> even though they are in Java. If so could you point to a reference that
> might show some examples???? AND does this have anything to do with
> JPython - would I want to use that rather than my standard Linux 2.0
> version.
> 
> thanks!

You will have to use Jython for this.  

Alternatively, you can connect to Oracle via C-Python to do the work and
forget Java altogether.  Take a look at DCOracle:
http://www.zope.org/Products/DCOracle


-- 
Adam DePrince
Starmedia Network, Inc.
Email:
zlib.decompress('x\332KLI\314\325KI-(\312\314KNu(.I,\312MM\311L\324K\316\317\005\000\221\331\012s')



More information about the Python-list mailing list