On Mon, 4 Sep 2006, Marco Loregian wrote:
I've been following the evolution of the project in the last months (by
downloading all versions, reading documentation and, occasionally, this
mailing list). I'd like to have a deeper knowledge of the architecture from a
developer's perspective. Since I am a Java developer, my question is: is
there any example or tutorial of how to create a Chandler parcel in Java
rather than Python? (First: is it possible?)
Chandler is built with python and is meant to be extended with python.
But, if you really really must use Java, you can do the following:
- write whatever you want to write in Java
- compile it with gcj, the GNU java compiler
- create a small C/C++/Python layer that invokes your Java code via CNI
Definitely non trivial, but possible.
This is how the full text index and search component of Chandler, PyLucene,
is done. For more information: http://pylucene.osafoundation.org
Andi..
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Open Source Applications Foundation "chandler-dev" mailing list
http://lists.osafoundation.org/mailman/listinfo/chandler-dev