Hello Jae,

I think the easiest way would be some kind of Inter-Process- Communication. For example, the Apache Thrift library should do it (there are many more). But you can also look at Jan Rellermeyer work (R-OSGi). As far as I remember, he did something in the area of communicating with C/C++ code (and the otherway around?).

Hope this helps.

- Siamak

Am 11.04.2009 um 08:11 schrieb Jae Woo Lee:

Hi,

I am using JNI Invocation API to start a JVM, which in turn starts an Equinox container, which in turn loads my bundles.

I am having trouble trying to pass a piece of data from C code to a bundle. When I try to "env->FindClass()" the Activator class in my bundle, it fails. It's probably because the bundle is loaded from a BundleClass loader rather than a system class loader.

Can anyone think of a way for me to pass some data from C code to Java bundle code?

- Jae


_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev

_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to