[ZODB-Dev] running ZODB from Jython
Tim Peters
tim at zope.com
Wed Jan 12 14:17:19 EST 2005
[paul.mathebula at theideahub.com]
> I am new to both python and jython and wish to run ZODB from with the
> jython interpreter. The problem is my python interpreter can access ZODB
> and my jython interpreter can't. what should I do/change to fix this ?? I
> am running on linux mandrake 10.0
I don't know of a ZODB port to Jython either, and the C code in ZODB likely
makes it non-trivial to do one.
It's possible that Durus could work under Jython:
http://www.mems-exchange.org/software/durus/
That has some C code too, but a lot less than ZODB, and I believe I read it
*can* be run as pure Python code. Durus implements a subset of ZODB
functionality. Things "missing" in Durus include:
support for access from threads
more than one storage backend
asynchronous IO
versions
undo
conflict resolution
MVCC (multiversion concurrency control)
OTOH, I bet it relies heavily on newer Python features that Jython doesn't
yet implement.
Of course you can run ZODB with no porting headaches: run it under Python
and declare victory <wink>.
More information about the ZODB-Dev
mailing list