Differences between revisions 13 and 14
Revision 13 as of 2007-03-23 11:19:00
Size: 3635
Editor: 216
Comment:
Revision 14 as of 2007-03-23 11:37:47
Size: 3971
Editor: PaulBoddie
Comment: Added javaclass reference.
Deletions are marked like this. Additions are marked like this.
Line 50: Line 50:
[http://www.python.org/pypi/javaclass javaclass] is a project which attempts to import Java class files as Python modules by translating the structures and bytecode.
 * '''Project Status''' as of 2005 is '''discontinued''', although there remains a vague possibility of it being re-evaluated in the light of recent Python releases.

Tools for scripting Java using Python

This page lists tools for Java/Python interoperatbility.

The purpose of this page is to provide:

  • a list of tools for Java/Python interoperability
  • a summary of the capabilities/uses of each tool
  • brief overview information about the developers, maintainers, and current status of each project.


Active Projects


[http://jepp.sourceforge.net/ Jepp] embeds CPython in Java. It is safe to use in a heavily threaded environment, it is quite fast and its stability is a main feature and goal.

[http://jpype.sourceforge.net/ JPype] is an effort to allow python programs full access to java class libraries. This is achieved not through re-implementing Python, as Jython/JPython has done, but rather through interfacing at the native level in both Virtual Machines.

  • For information on the current status of the project, see the [http://jpype.blogspot.com/ JPype Blog]

  • The author of JPype is Steve Menard.
  • Version 0.5 was released May 2006.
  • As of November 2006 version 0.6 is being developed.

[http://www.jython.org/Project/index.html Jython] (formerly: JPython) is a Python-to-Java bytecode compiler. It is written in Java. Most Python scripts should run with little or no modification on Jython. The exception is scripts that use Python extensions written in C. Some modules in the standard library may not be available in Jython.

  • Jython has recently seen renewed interest, with a 2.2 beta release likely to come out soon (November 2006). With the recent emphasis on dynamic languages for the JVM, Jython appears to be getting new contributors and making progress again.
  • For information about the current status of the project see [http://fwierzbicki.blogspot.com/ Frank Wierzbicki's blog] or the [http://wiki.python.org/jython/ Jython wiki]

  • JPython was created in late 1997 by Jim Hugunin.
  • In February 1999 Barry Warsaw took over as primary developer and released JPython version 1.1.
  • In October 2000 Barry helped move the software to SourceForge where it was renamed to Jython, and Finn Bock became the primary maintainer.

  • In December 2001, Jython version 2.1 was released. For more information see the old [http://jython.sourceforge.net/Jython21.html Jython 2.1 homepage].

  • In 2004, the [http://www.python.org/psf/grants/ PSF awarded a grant] for a Moving Jython Forward project led by Brian Zimmer.

  • An alpha version of 2.2 was released in July 2005. This was an experimental, unstable release with significant known issues.
  • Frank Wierzbicki became the project's chief maintainer in November 2005.

["Laurent Pointal"] comments on these and a few other Java-related Python projects in a [http://www.limsi.fr/Individu/pointal/python.html#liens-intautlang-java page he maintains].


Discontinued Projects


[http://www.python.org/pypi/javaclass javaclass] is a project which attempts to import Java class files as Python modules by translating the structures and bytecode.

  • Project Status as of 2005 is discontinued, although there remains a vague possibility of it being re-evaluated in the light of recent Python releases.

[http://jpe.sourceforge.net/ JPE] (Java-Python Extension) uses JNI to provide a bridging mechanism between Java and a Python interpreter (including use of C extensions for Python).

  • Project Status as of 2002 is discontinued.

[http://www.ndim.edrc.cmu.edu/dougc/jpi/Home.html JPI] was a two-way Python-Java Interface.

  • Project Status as of 2002 is discontinued.


ScriptingJava (last edited 2008-11-15 14:00:58 by localhost)

Unable to edit the page? See the FrontPage for instructions.