Hi,

I have recently wrapped solr inside jetty with JCC (we need to access
very big result sets quickly, via JNI, but also keep solr running as
normal) and was wondering what strategies do you guys use to speak
*from inside* Java towards the Python end.

So far, I was able to think about these:

- raise exceptions in java and catch in python (I think I have seen
this in some posts from Bill Jansen)
- communicate via sockets
- wait passively - call some java method and wait for its return
- monitor actively - in python check in loop some java object

Is there something else?

Cheers,

  roman

Reply via email to