Hello, hope to get any replies and suggestion.
I am now faced a problem as follows:
------------ -------------
- - Fuction_N - Module B -
- Module A - ============> - UI_W,UI_X.-
- (C/C++) - - (Java) -
------------ -------------
OSGi Framework based
Fuction_N is also Java based, and is responsible for getting some related
data information from C/C++ based Module A;
Moreover, Function_N need to transfor those data to other Bundles, such as
UI_W, UI_X,etc.
Therefore, I decide to handle Function_N as a bundle instlled in OSGi
framework, which need Funcation_N to abide by the rules of OSGi bundle,
such as using "public class Activator implements BundleActivator" without
main () function.
However, Function_N would implement JNI interface which would need a main()
function to run, and some errors would appear without main() function.
1. How to solve this problem?
Any suggestion would be welcome.
2. If regarding Function_N as a single module seperarted from OSGi
framwork(i.e., Function_N is not a bundle), how to implement and relize the
data share with those bundles?
Many thanks to you!
Regards!
Jerry_______________________________________________
OSGi Developer Mail List
[email protected]
http://www2.osgi.org/mailman/listinfo/osgi-dev