[Chandler-dev] Chandler and Java

Andi Vajda vajda at osafoundation.org
Mon Sep 4 20:11:25 PDT 2006


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..


More information about the chandler-dev mailing list